mirror of
https://github.com/internetee/registry.git
synced 2025-08-16 06:23:57 +02:00
14 lines
221 B
Ruby
14 lines
221 B
Ruby
module Admin
|
|
class ToolsController < BaseController
|
|
before_action :authorize_admin
|
|
|
|
# GET /admin/tools
|
|
def index; end
|
|
|
|
private
|
|
|
|
def authorize_admin
|
|
authorize! :access, :tools
|
|
end
|
|
end
|
|
end
|