decidim-admin/app/controllers/decidim/admin/organization_controller.rb in decidim-0.0.6 vs decidim-admin/app/controllers/decidim/admin/organization_controller.rb in decidim-0.0.7
- old
+ new
@@ -4,9 +4,11 @@
module Decidim
module Admin
# Controller that allows managing the user organization.
#
class OrganizationController < ApplicationController
+ layout "decidim/admin/settings"
+
def edit
authorize! :update, current_organization
@form = form(OrganizationForm).from_model(current_organization)
end