does not display spending proposals when filtering my activity

This commit is contained in:
rgarcia
2016-02-21 21:35:10 +01:00
parent b6e519c6ab
commit 6221c70027
2 changed files with 8 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ class UsersController < ApplicationController
when "proposals" then load_proposals
when "debates" then load_debates
when "comments" then load_comments
when "spending_proposals" then load_spending_proposals
when "spending_proposals" then load_spending_proposals if author_or_admin?
else load_available_activity
end
end