update addorder option for set

This commit is contained in:
Aung Myo
2018-03-15 14:35:25 +06:30
parent e2ad592007
commit f0e81caad0
5 changed files with 56 additions and 57 deletions

View File

@@ -6,6 +6,10 @@ class Settings::MenusController < ApplicationController
# GET /settings/menus.json
def index
@settings_menus = Menu.all.page(params[:page]).per(10)
respond_to do |format|
format.html
format.csv { send_data Menu.to_csv }
end
end
# GET /settings/menus/1