Method: Cms::PathHelper#edit_cms_connectable_path

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

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



27
28
29
30
31
32
33
# File 'app/helpers/cms/path_helper.rb', line 27

def edit_cms_connectable_path(connectable, options={})
  if Portlet === connectable
    edit_cms_portlet_path(connectable, options)
  else
    polymorphic_path([:edit, :cms, connectable], options)        
  end
end