Permalink
Browse files

fix 500 for the moment

  • Loading branch information...
1 parent 41ffc10 commit e02e9ac3266d21f242b32849d9496f19dad4b13f Antonio Pardo Sánchez committed Mar 22, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 app/controllers/campaigns_controller.rb
@@ -401,7 +401,10 @@ def get_campaign
def get_campaign_with_other_campaigns
@campaign = Campaign.find_by_slug(params[:id])
- @campaigns = @campaign.other_campaigns.reject! {|c| c.has_participated?(current_user) }
+ # parche para no dar error 500
+ #@campaigns = @campaign.other_campaigns.reject! {|c| c.has_participated?(current_user) }
+ @campaigns = @campaign.other_campaigns
+
end
def set_user_blank_parameters

0 comments on commit e02e9ac

Please sign in to comment.