Module: Maveric::Views
- Defined in:
- lib/maveric.rb
Overview
Holds views related methods and helpers
As long as Controller#prepare_0_imports is not overridden, Views extends the Controller instance just before the action is called.
Instance Method Summary collapse
Instance Method Details
#path_to(c, a = {}) ⇒ Object
403 404 405 406 |
# File 'lib/maveric.rb', line 403 def path_to c, a={} ::Maveric.log.info "#{self.class}#path_to #{c} #{a.inspect}" @env[:maveric].router.to(c).eject{|r| r.build a } end |