Skip to content

Commit

Permalink
fix restore_locals
Browse files Browse the repository at this point in the history
  • Loading branch information
minktom authored and al2o3cr committed Sep 14, 2011
1 parent 672c60e commit 04dd273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dryml/lib/dryml/part_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def parse_this_id(page_this)
def restore_locals(locals)
locals.map do |l|
if l.is_a?(TypedId)
Hobo::Model.find_by_typed_id(this_id)
Hobo::Model.find_by_typed_id(l)
else
l
end
Expand Down

0 comments on commit 04dd273

Please sign in to comment.