mission controller route fix

James Peret 10 years ago
parent
commit
6e58576fd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controllers/missions_controller.rb

+ 1 - 1
app/controllers/missions_controller.rb

@@ -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' }