Method: Plezi::Controller::ClassMethods#url_for
- Defined in:
- lib/plezi/controller/controller_class.rb
#url_for(func, params = {}) ⇒ Object
Returns a relative URL for the controller, placing the requested parameters in the URL (inline, where possible and as query data when not possible).
16 17 18 |
# File 'lib/plezi/controller/controller_class.rb', line 16 def url_for(func, params = {}) ::Plezi::Base::Router.url_for self, func, params end |