Module: ReaderActivationsControllerExtensions
- Defined in:
- lib/reader_activations_controller_extensions.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/reader_activations_controller_extensions.rb', line 2 def self.included(base) base.class_eval { def default_activated_url_with_group if page = @reader.find_homepage page.url else default_activated_url_without_group end end alias_method_chain :default_activated_url, :group } end |