Nicolas Bally ef2a73636b initial 2
2015-02-24 23:47:26 +01:00

7 lines
272 B
Plaintext

.portlet_types
-ContentType.all.each do |content_type|
=link_to content_type.name, eval("new_portlet_"+content_type.slug.tableize.singularize+"_path(:block_id => @portlet.block_id, :position => params[:position])"), :remote => true
%br
%br
#new_portlet_content_form