app/controllers/decidim/admin/scopes_controller.rb in decidim-admin-0.0.6 vs app/controllers/decidim/admin/scopes_controller.rb in decidim-admin-0.0.7
- old
+ new
@@ -4,9 +4,11 @@
module Decidim
module Admin
# Controller that allows managing all scopes at the admin panel.
#
class ScopesController < ApplicationController
+ layout "decidim/admin/settings"
+
def index
authorize! :index, Scope
@scopes = collection
end