app/views/widget/_horizontal_widget.html.haml in trusty-rad-social-extension-1.1.0 vs app/views/widget/_horizontal_widget.html.haml in trusty-rad-social-extension-1.1.1
- old
+ new
@@ -8,18 +8,18 @@
- email_message = local_variables[:email_message]
.rad-widget
.rad-icon
%a{:class => "rad-popup-window rad-facebook", :href => "https://www.facebook.com/sharer/sharer.php?u=#{CGI::escape(url)}", :target=> "_blank"}
- %img{:src => "/assets/rad_social/facebook.png", :alt => "Facebook", :title => "Share to Facebook", :height => "26", :width => "26"}
+ %img{:src => image_path("rad_social/facebook.png"), :alt => "Facebook", :title => "Share to Facebook", :height => "26", :width => "26"}
.rad-icon
%a{:class => "rad-popup-window rad-twitter", :href => "https://twitter.com/intent/tweet?text=#{CGI::escape(message + " " + url)}"}
- %img{:src => "/assets/rad_social/twitter.png", :alt => "Twitter", :title => "Share to Twitter", :height => "26", :width => "26"}
+ %img{:src => image_path("rad_social/twitter.png"), :alt => "Twitter", :title => "Share to Twitter", :height => "26", :width => "26"}
.rad-icon
%a{:class => "rad-popup-window rad-email", :href => rad_social_mail_form_url(:email_subject => email_subject, :email_message => email_message, :email_action_url => email_action_url)}
- %img{:src => "/assets/rad_social/email.png", :alt => "Email a Friend", :title => "Email a Friend", :height => "26", :width => "26"}
+ %img{:src => image_path("rad_social/email.png"), :alt => "Email a Friend", :title => "Email a Friend", :height => "26", :width => "26"}
.rad-icon
%a{:class => "rad-popup-window rad-gplus", :href => "https://plus.google.com/share?url=#{CGI::escape(url)}"}
- %img{:src => "/assets/rad_social/googleplus.png", :alt => "Google+", :title => "Share to Google+", :height => "26", :width => "26"}
+ %img{:src => image_path("rad_social/googleplus.png"), :alt => "Google+", :title => "Share to Google+", :height => "26", :width => "26"}