module SocialAvatarProxy::Engine::Helpers
Public Class Methods
included(base)
click to toggle source
# File lib/social_avatar_proxy/engine.rb, line 25 def self.included(base) base.helper_method :twitter_avatar_path base.helper_method :facebook_avatar_path end
Public Instance Methods
facebook_avatar_path(identifier)
click to toggle source
# File lib/social_avatar_proxy/engine.rb, line 34 def facebook_avatar_path(identifier) "/#{SocialAvatarProxy::Engine.mounted_at}/facebook/#{identifier}" end
twitter_avatar_path(identifier)
click to toggle source
# File lib/social_avatar_proxy/engine.rb, line 30 def twitter_avatar_path(identifier) "/#{SocialAvatarProxy::Engine.mounted_at}/twitter/#{identifier}" end