mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add TrackControllers specs
This commit is contained in:
parent
9671696adf
commit
e3b51dfc2b
4 changed files with 438 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ class TracksController < ApplicationController
|
|||
|
||||
def update
|
||||
if @track.update_attributes(track_params)
|
||||
redirect_to admin_conference_program_tracks_path(conference_id: @conference.short_title),
|
||||
redirect_to conference_program_tracks_path(conference_id: @conference.short_title),
|
||||
notice: 'Track request successfully updated.'
|
||||
else
|
||||
flash.now[:error] = "Track request update failed: #{@track.errors.full_messages.join('. ')}."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue