Implements a poster feature for the proposals dashboard
This commit is contained in:
Juan Salvador Pérez García
2018-07-31 12:50:25 +02:00
parent 06fbc8bbb4
commit 6cc1ddb9af
34 changed files with 502 additions and 115 deletions

View File

@@ -0,0 +1,16 @@
class Dashboard::PosterController < Dashboard::BaseController
def index
authorize! :manage_poster, proposal
respond_to do |format|
format.html
format.pdf do
render pdf: 'poster', page_size: 'A3'
end
end
end
def new
authorize! :manage_poster, proposal
end
end