adds proposal show
This commit is contained in:
@@ -78,6 +78,10 @@ class ApplicationController < ActionController::Base
|
||||
@debate_votes = current_user ? current_user.debate_votes(debates) : {}
|
||||
end
|
||||
|
||||
def set_proposal_votes(proposals)
|
||||
@proposal_votes = current_user ? current_user.proposal_votes(proposals) : {}
|
||||
end
|
||||
|
||||
def set_comment_flags(comments)
|
||||
@comment_flags = current_user ? current_user.comment_flags(comments) : {}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user