Commit 128de8a0 authored by azul's avatar azul

fix: issues noticed on staging server

Associations do not accept the reload flag anymore.
So in surveys controller
would become

But since we are not allowing updates to surveys anymore there is no need to reload anyway.

RankingPoll was missing a require for `borda_vote`.
parent c2e3cc87
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
# ^^ there is no good reason why this is necessary, but it seems to be the case.
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