Module | Cms::PathHelper |
In: |
app/helpers/cms/path_helper.rb
|
# File app/helpers/cms/path_helper.rb, line 19 19: def cms_connectable_path(connectable, options={}) 20: if Portlet === connectable 21: cms_portlet_path(connectable) 22: else 23: [:cms, connectable] 24: end 25: end
# File app/helpers/cms/path_helper.rb, line 3 3: def cms_index_path_for(resource, options={}) 4: send("cms_#{resource_collection_name(resource).pluralize}_path", options) 5: end
# File app/helpers/cms/path_helper.rb, line 7 7: def cms_index_url_for(resource, options={}) 8: send("cms_#{resource_collection_name(resource).pluralize}_url", options) 9: end
# File app/helpers/cms/path_helper.rb, line 11 11: def cms_new_path_for(resource, options={}) 12: send("new_cms_#{resource_collection_name(resource)}_path", options) 13: end
# File app/helpers/cms/path_helper.rb, line 15 15: def cms_new_url_for(resource, options={}) 16: send("new_cms_#{resource_collection_name(resource)}_url", options) 17: end