Skip to content

Commit

Permalink
Fix bug adding talk
Browse files Browse the repository at this point in the history
  • Loading branch information
luciagirasoles committed Oct 24, 2023
1 parent a4a6960 commit 6ecd3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/events_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def generate_talk
talk: @talk,
talk_id: talk_id,
},
formats: [:turbo_stream]
formats: %i[turbo_stream html]
else
@url = generate_talk_admin_events_path(talk_id: talk_id)
render :set_talk, status: :bad_request, formats: [:turbo_stream]
Expand Down

0 comments on commit 6ecd3b6

Please sign in to comment.