Commit 4e1a277aab597beb0dae5e1e3d2a9caf2e1760dd
1 parent
40928998
Exists in
master
and in
27 other branches
Fix LocationBlock unit tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/location_block.rb
@@ -14,7 +14,7 @@ class LocationBlock < Block | @@ -14,7 +14,7 @@ class LocationBlock < Block | ||
14 | def content(args={}) | 14 | def content(args={}) |
15 | block = self | 15 | block = self |
16 | profile = self.owner | 16 | profile = self.owner |
17 | - lambda do | 17 | + proc do |
18 | render :file => 'blocks/location', :locals => {:block => block, :profile => profile} | 18 | render :file => 'blocks/location', :locals => {:block => block, :profile => profile} |
19 | end | 19 | end |
20 | end | 20 | end |