Commit 6ea554eb authored by azul's avatar azul

Merge branch 'fix-staging-issues' into 'staging'

fix: issues noticed on staging server

See merge request !281
parents ec8d1368 128de8a0
require 'borda_vote'
class Poll::RankingPoll < Poll
has_many :votes,
foreign_key: :votable_id,
......
......@@ -3,8 +3,7 @@ class SurveyPageController < Page::BaseController
def show
authorize @page
@survey.responses(true)
# ^^ there is no good reason why this is necessary, but it seems to be the case.
@survey.responses
end
protected
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment