Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
allow customization of contents of twitter signup link
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Pytel committed Mar 18, 2010
1 parent 0cf824a commit 55f2455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/clearance_twitter_helper.rb
@@ -1,6 +1,6 @@
module ClearanceTwitterHelper
def twitter_connect_button
twitter_image_tag = image_tag('sign_in_with_twitter.png', :alt => 'Sign in using Twitter')
def twitter_connect_button(twitter_image_tag)
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
end

0 comments on commit 55f2455

Please sign in to comment.