Commit 948ad037dc9b42e326cd2c6a85910d3eb3c0fa51
1 parent
b5b64826
Exists in
master
and in
29 other branches
rails3: lambda -> proc
(ActionItem2859)
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
plugins/people_block/lib/friends_block.rb
plugins/people_block/lib/members_block.rb
... | ... | @@ -22,7 +22,7 @@ class MembersBlock < PeopleBlockBase |
22 | 22 | def footer |
23 | 23 | owner = self.owner |
24 | 24 | role_key = visible_role |
25 | - lambda do | |
25 | + proc do | |
26 | 26 | link_to _('View all'), :profile => owner.identifier, :controller => 'people_block_plugin_profile', :action => 'members', :role_key => role_key |
27 | 27 | end |
28 | 28 | end | ... | ... |
plugins/people_block/lib/people_block_base.rb