Commit 685d496486141d63d34201718affaf3e2feb557c
1 parent
904fed88
Exists in
master
and in
22 other branches
Fix MembersBlock unit tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/members_block.rb
| @@ -14,7 +14,7 @@ class MembersBlock < ProfileListBlock | @@ -14,7 +14,7 @@ class MembersBlock < ProfileListBlock | ||
| 14 | 14 | ||
| 15 | def footer | 15 | def footer |
| 16 | profile = self.owner | 16 | profile = self.owner |
| 17 | - lambda do | 17 | + proc do |
| 18 | link_to _('View all'), :profile => profile.identifier, :controller => 'profile', :action => 'members' | 18 | link_to _('View all'), :profile => profile.identifier, :controller => 'profile', :action => 'members' |
| 19 | end | 19 | end |
| 20 | end | 20 | end |