16
app/controllers/dashboard/poster_controller.rb
Normal file
16
app/controllers/dashboard/poster_controller.rb
Normal 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
|
||||
Reference in New Issue
Block a user