Skip to content

Commit

Permalink
DRYML -- fixed bug where the part-context javascripts were appearing …
Browse files Browse the repository at this point in the history
…twice
  • Loading branch information
tslocke committed Jun 13, 2008
1 parent ebab830 commit be61368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/hobo/dryml/template_environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def part_contexts_storage
def render_tag(tag_name, attributes)
method_name = tag_name.to_s.gsub('-', '_')
if respond_to?(method_name)
res = (send(method_name, attributes) + part_contexts_javascripts).strip
res = send(method_name, attributes).strip

# TODO: Temporary hack to get the dryml metadata comments in the right place
if false && RAILS_ENV == "development"
Expand Down

0 comments on commit be61368

Please sign in to comment.