internetee-registry/app/controllers/admin/dashboards_controller.rb
2017-08-22 01:17:50 +03:00

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