Commit 5d1530aec2b4fb33a4299538248a9698b2876da3
1 parent
1cf5264f
Exists in
master
and in
29 other branches
ActionItem177: fixed a misuse of protect
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1532 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/admin/environment_design_controller.rb
1 | 1 | class EnvironmentDesignController < BoxOrganizerController |
2 | 2 | |
3 | - protect 'edit_environment_design' | |
3 | + protect 'edit_environment_design', :environment | |
4 | 4 | |
5 | 5 | def available_blocks |
6 | 6 | @available_blocks ||= [ LoginBlock, EnvironmentStatisticsBlock, RecentDocumentsBlock, ProfileListBlock ] | ... | ... |