Fixed Export Pdf button on admin registration page
This commit is contained in:
parent
b0bc9d4cb0
commit
e8e37e0a60
2 changed files with 8 additions and 1 deletions
|
|
@ -30,6 +30,13 @@ module Admin
|
|||
end
|
||||
end
|
||||
|
||||
def show
|
||||
@file_name = "ticket_for_#{@conference.short_title}"
|
||||
respond_to do |format|
|
||||
format.pdf {}
|
||||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
if can? :destroy, @registration
|
||||
@registration.destroy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue