Commit 4c1cc6aeb83d69ad9c120e22272bae1d804cf6f1
1 parent
a7766654
Exists in
master
and in
29 other branches
ActionItem85: fixed the list block url
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@798 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
app/controllers/profile_admin/enterprise_editor_controller.rb
... | ... | @@ -2,8 +2,8 @@ class EnterpriseEditorController < ProfileAdminController |
2 | 2 | |
3 | 3 | before_filter :login_required, :check_enterprise |
4 | 4 | |
5 | - protect [:edit, :update], :edit_profile, :profile | |
6 | - protect [:destroy], :destroy_profile, :profile | |
5 | + protect [:edit, :update], 'edit_profile', :profile | |
6 | + protect [:destroy], 'destroy_profile', :profile | |
7 | 7 | |
8 | 8 | needs_profile |
9 | 9 | ... | ... |
app/models/enterprises_block.rb
app/models/list_block.rb