Method: Cms::PathHelper#cms_connectable_path

Defined in:
app/helpers/cms/path_helper.rb

#cms_connectable_path(connectable, options = {}) ⇒ Object



19
20
21
22
23
24
25
# File 'app/helpers/cms/path_helper.rb', line 19

def cms_connectable_path(connectable, options={})
  if Portlet === connectable
    cms_portlet_path(connectable)
  else
    [:cms, connectable]
  end
end