Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix to load views from activity_forms with pluralized names

  • Loading branch information...
commit c251b93aa4ff5d06e13383f84fa3820cff429951 1 parent 8e62b13
@VictorSB VictorSB authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/activities/_new.html.erb
View
2  app/views/activities/_new.html.erb
@@ -32,7 +32,7 @@
<% end %><!-- END OF FORM -->
<% SocialStream.activity_forms.each do |element| %>
- <%= render :partial => element.to_s+'/new', :locals =>{:a_tie_id => current_subject.activity_ties_to(receiver).first.id} %>
+ <%= render :partial => element.to_s.pluralize+'/new', :locals =>{:a_tie_id => current_subject.activity_ties_to(receiver).first.id} %>
<% end %>
<div id="activities_share_btn">
Please sign in to comment.
Something went wrong with that request. Please try again.