check menu and table status

This commit is contained in:
phyusin
2018-10-04 10:25:15 +06:30
parent 7bf01a863c
commit 497458371b
4 changed files with 5 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ class Settings::MenusController < ApplicationController
# GET /settings/menus
# GET /settings/menus.json
def index
@settings_menus = Menu.all.page(params[:page]).per(10)
@settings_menus = Menu.unscoped.all.page(params[:page]).per(10)
respond_to do |format|
format.html
format.xlsx