Method: Scrivito::ControllerHelper#scrivito_url
- Defined in:
- app/cms/scrivito/controller_helper.rb
#scrivito_url(target, options = {}) ⇒ String
Note:
scrivito_url
is also a helper method.
Returns the absolute URL of a CMS object.
40 41 42 |
# File 'app/cms/scrivito/controller_helper.rb', line 40 def scrivito_url(target, = {}) CmsRouting.new(request, self, scrivito_engine).path_or_url(target, "url", ) end |