first cancan

This commit is contained in:
Aung Myo
2017-06-22 15:33:55 +06:30
parent 3d838bc989
commit 25b6a893f2
6 changed files with 26 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
class Settings::EmployeesController < ApplicationController
# load_and_authorize_resource
load_and_authorize_resource
before_action :set_employee, only: [:show, :edit, :update, :destroy]