update authorize

This commit is contained in:
Aung Myo
2017-06-23 09:41:48 +06:30
parent 5abda623ff
commit 01e5b7ba6c
60 changed files with 1141 additions and 34 deletions

View File

@@ -1,4 +1,5 @@
class Settings::MenusController < ApplicationController
load_and_authorize_resource except: [:create]
before_action :set_settings_menu, only: [:show, :edit, :update, :destroy]
# GET /settings/menus