Added poll results route

This commit is contained in:
María Checa
2017-10-17 18:29:14 +02:00
parent da95d298b7
commit 55c15bca86
2 changed files with 5 additions and 0 deletions

View File

@@ -27,4 +27,8 @@ class PollsController < ApplicationController
@comment_tree = CommentTree.new(@commentable, params[:page], @current_order)
end
def results
@poll = Poll.find(params[:poll_id])
end
end