Browse files

actually allow customization

  • Loading branch information...
1 parent 55f2455 commit 7ba8ee1d06d453741656acf4a078b2880010aa8a Chad Pytel committed Mar 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/clearance_twitter_helper.rb
View
2 app/helpers/clearance_twitter_helper.rb
@@ -1,5 +1,5 @@
module ClearanceTwitterHelper
- def twitter_connect_button(twitter_image_tag)
+ def twitter_connect_button(twitter_image_tag = nil)
twitter_image_tag ||= image_tag('sign_in_with_twitter.png', :alt => 'Sign in using Twitter')
link_to twitter_image_tag, new_twitter_user_path
end

0 comments on commit 7ba8ee1

Please sign in to comment.