Skip to content
Browse files

bugfix

  • Loading branch information...
1 parent 34ed6a2 commit 255566f91488bf2bde51d4e01d746f6959df035b @avarteq avarteq committed May 27, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/helpers/application_helper.rb
View
4 app/helpers/application_helper.rb
@@ -1,8 +1,8 @@
# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
[:div, :ul].each do |method_name|
- define_method method_name do |options, &block|
- content_tag method_name, options, &block
+ define_method method_name do |*args, &block|
+ content_tag method_name, args.first, &block
end
end
end

0 comments on commit 255566f

Please sign in to comment.
Something went wrong with that request. Please try again.