mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
DRY up event export menus
This commit is contained in:
parent
0848df6948
commit
81bad2eb4d
3 changed files with 26 additions and 24 deletions
|
|
@ -25,6 +25,7 @@ module Admin
|
|||
@scheduled_event_distribution = @conference.scheduled_event_distribution
|
||||
@file_name = "events_for_#{@conference.short_title}"
|
||||
@event_export_option = params[:event_export_option]
|
||||
@export_formats = [:pdf, :csv, :xlsx]
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue