class EmployeesController < ApplicationController
let :super_admin, :all
....
end
class Employees::SkillsController < EmployeesController
....
end
class Employees::EducationsController < EmployeesController
....
end
AdminController
?ApplicationController
when you are in an admin scope or not and put the authorizations there.
admin
is part of the route or something like that.
audited
gem as described in matiasgagliano/action_access#12 I've found the root cause which is that the :helper_method
is not available in the audited
gem, but I guess it is safer to handle this in the action_access
gem. I'm about to prepare the pull request for that.