Method: Scrivito::ControllerHelper#scrivito_path

Defined in:
app/cms/scrivito/controller_helper.rb

#scrivito_path(target, options = {}) ⇒ String

Note:

scrivito_path is also a helper method.

Returns the (URL-)path of a CMS object.



22
23
24
# File 'app/cms/scrivito/controller_helper.rb', line 22

def scrivito_path(target, options = {})
  CmsRouting.new(request, self, scrivito_engine).path_or_url(target, "path", options)
end