Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ActiveDecorator
- include ::Rails.application.routes.url_helpers
- def default_url_options
- ::ActionMailer::Base.default_url_options
- end
- attr_reader :decorated
- def initialize(decorated)
- @decorated = decorated
- end
- end
Add Comment
Please, Sign In to add comment