Module: Controll::Enabler
- Extended by:
- ActiveSupport::Concern
- Included in:
- Focused::Enabler
- Defined in:
- lib/controll/enabler.rb,
lib/controll/enabler/maps.rb,
lib/controll/enabler/macros.rb,
lib/controll/enabler/notify.rb,
lib/controll/enabler/path_handler.rb,
lib/controll/enabler/path_resolver.rb
Defined Under Namespace
Modules: Macros, Maps, Notify Classes: PathHandler, PathResolver
Instance Method Summary collapse
-
#do_fallback(action) ⇒ Object
override this for custom Controller specific fallback action.
- #do_redirect(*args) ⇒ Object
- #do_render(*args) ⇒ Object
Instance Method Details
#do_fallback(action) ⇒ Object
override this for custom Controller specific fallback action
23 24 25 |
# File 'lib/controll/enabler.rb', line 23 def do_fallback action do_redirect fallback_path end |
#do_redirect(*args) ⇒ Object
27 28 29 |
# File 'lib/controll/enabler.rb', line 27 def do_redirect *args redirecter.execute *args end |
#do_render(*args) ⇒ Object
31 32 33 |
# File 'lib/controll/enabler.rb', line 31 def do_render *args renderer.execute *args end |