Module: Pancake::Url::Generation
- Defined in:
- lib/pancake/mixins/url.rb
Instance Method Summary collapse
Instance Method Details
#url(name, opts = {}) ⇒ Object
4 5 6 7 |
# File 'lib/pancake/mixins/url.rb', line 4 def url(name, opts = {}) konfig = request.env[Pancake::Router::CONFIGURATION_KEY] konfig.router.generate(name, opts) end |