Fixed notice message for create new job
This commit is contained in:
@@ -23,7 +23,7 @@ class JobsController < ApplicationController
|
||||
|
||||
respond_to do |format|
|
||||
if @job.save
|
||||
format.html { redirect_to jobs_url(Job.currently_working_on), notice: 'Job was successfully created.' }
|
||||
format.html { redirect_to jobs_url, notice: 'Job was successfully created.' }
|
||||
format.json { render :show, status: :created, location: @job }
|
||||
else
|
||||
format.html { render :new, status: :unprocessable_entity }
|
||||
|
||||
Reference in New Issue
Block a user