Added acces rules for jobs, operator/jobs and admin/dashboard view, including lazy loading for cancel button in broadcasts
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
class Admin::DashboardsController < ApplicationController
|
||||
before_action :authorize!
|
||||
def show
|
||||
end
|
||||
|
||||
def authorize!
|
||||
super with: Admin::DashboardPolicy
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user