|
|
@@ -52,7 +52,7 @@ class MissionsController < ApplicationController
|
52
|
52
|
@analytics.track('Mission created')
|
53
|
53
|
respond_to do |format|
|
54
|
54
|
if @mission.save
|
55
|
|
- format.html { redirect_to agents_path(@mission), notice: 'Mission was successfully created.' }
|
|
55
|
+ format.html { redirect_to mission_agents_path(@mission), notice: 'Mission was successfully created.' }
|
56
|
56
|
format.json { render action: 'show', status: :created, location: @mission }
|
57
|
57
|
else
|
58
|
58
|
format.html { render action: 'new' }
|