10 lines
170 B
Ruby
10 lines
170 B
Ruby
class Admin::DashboardsController < ApplicationController
|
|
before_action :authorize!
|
|
def show
|
|
end
|
|
|
|
def authorize!
|
|
super with: Admin::DashboardPolicy
|
|
end
|
|
end
|