update menu import and export

This commit is contained in:
Aung Myo
2018-03-19 18:13:38 +06:30
parent 919846ef5c
commit ca817197d9
9 changed files with 155 additions and 15 deletions

View File

@@ -2,6 +2,8 @@ require_relative 'boot'
require 'csv'
require 'rails/all'
require 'creek'
# require 'iconv'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.

View File

@@ -3,3 +3,4 @@
# Add new mime types for use in respond_to blocks:
# Mime::Type.register "text/richtext", :rtf
Mime::Type.register 'application/vnd.ms-excel', :xls
Mime::Type.register "application/xlsx", :xlsx