decidim-admin/app/controllers/decidim/admin/dashboard_controller.rb in decidim-0.4.2 vs decidim-admin/app/controllers/decidim/admin/dashboard_controller.rb in decidim-0.4.3
- old
+ new
@@ -1,13 +1,11 @@
# frozen_string_literal: true
-require_dependency "decidim/admin/application_controller"
-
module Decidim
module Admin
# Controller that shows a simple dashboard.
#
- class DashboardController < ApplicationController
+ class DashboardController < Decidim::Admin::ApplicationController
authorize_resource :admin_dashboard, class: false
end
end
end