Permalink
Browse files

added logout images as assets

  • Loading branch information...
kristianmandrup committed Apr 3, 2012
1 parent cf2d00c commit 5361cf999f3534fba58f193c7c4d97150fa3dda5
View
@@ -1 +1 @@
-0.1.1
+0.1.2
@@ -22,4 +22,4 @@ def self.helpers
require "facebook-social_plugins/#{name}_helper"
end
-require 'facebook-social_plugins/rails/engine'
+require 'facebook-social_plugins/rails/engine' if defined?(::Rails::Engine)
@@ -46,7 +46,7 @@ def fb_login_button options = {}
def fb_logout_button options = {}
content_tag :a, '', {:id => 'fb_logout_and_reload', :href => '#'}.merge(options[:html] || {}) do
- content_tag :img, :id => 'fb_logout_image', :src => "http://static.ak.fbcdn.net/images/fbconnect/logout-buttons/logout_#{options[:size] || :small}.gif", :alt => "Facebook Logout"
+ content_tag :img, :id => 'fb_logout_image', :src => "/assets/fb_logout_#{options[:size] || :small}.gif", :alt => "Facebook Logout"
end
end
Binary file not shown.
Binary file not shown.

0 comments on commit 5361cf9

Please sign in to comment.