mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
9 lines
186 B
Ruby
9 lines
186 B
Ruby
module Admin
|
|
class DashboardsController < BaseController
|
|
authorize_resource class: false
|
|
|
|
def show
|
|
redirect_to [:admin, :domains] if can? :show, Domain
|
|
end
|
|
end
|
|
end
|