Class: SocialAvatarProxy::Routes
- Inherits:
-
Object
- Object
- SocialAvatarProxy::Routes
- Includes:
- PathHelpers
- Defined in:
- lib/social_avatar_proxy/routes.rb
Instance Method Summary collapse
-
#initialize(app) ⇒ Routes
constructor
A new instance of Routes.
Methods included from PathHelpers
#avatar_base_path, #avatar_base_path=, #facebook_avatar_path, #twitter_avatar_path
Constructor Details
#initialize(app) ⇒ Routes
Returns a new instance of Routes.
7 8 9 10 11 |
# File 'lib/social_avatar_proxy/routes.rb', line 7 def initialize(app) if app.path_prefix self.avatar_base_path = app.path_prefix end end |