changed the to proc syntax to explicit block syntax

This commit is contained in:
Ilya Zhitomirskiy 2011-09-19 14:16:26 -07:00
parent ed4b91249d
commit 41abb5790e

View file

@ -58,7 +58,7 @@
%h2
= "##{params[:name]}"
= render 'shared/publisher', :selected_aspects => all_aspects.map(&:id), :aspect_ids => all_aspects.map(&:id), :for_all_aspects => true, :aspect => all_aspects.first
= render 'shared/publisher', :selected_aspects => all_aspects.map{|a| a.id}, :aspect_ids => all_aspects.map{|a| a.id}, :for_all_aspects => true, :aspect => all_aspects.first
%hr