Method: Cms::RenderingHelper#render_connector_and_connectable
- Defined in:
- app/helpers/cms/rendering_helper.rb
#render_connector_and_connectable(connector, connectable) ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'app/helpers/cms/rendering_helper.rb', line 20 def render_connector_and_connectable(connector, connectable) logger.debug "Rendering #{connectable} " if is_editing_page?(connector.page) render(:partial => 'cms/pages/edit_connector', :locals => { :connector => connector, :connectable => connectable}) else render_connectable(connectable) end end |