Hide polls created by users on admin poll booth assigments

This commit is contained in:
decabeza
2019-06-14 20:51:59 +02:00
committed by Javi Martín
parent cb6539d170
commit 08e820c134
2 changed files with 11 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ class Admin::Poll::PollsController < Admin::Poll::BaseController
end
def booth_assignments
@polls = Poll.current
@polls = Poll.current.created_by_admin
end
def destroy