Skip to content
Snippets Groups Projects
Commit cc5ff3b5 authored by Rubén Dávila's avatar Rubén Dávila Committed by Robert Speicher
Browse files

Use the adequate success path on the JSON endpoint.

I forgot to update this and some spinach specs were failing.
parent b79c8b52
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -17,7 +17,7 @@ module CreatesCommit
 
respond_to do |format|
format.html { redirect_to final_success_path(success_path) }
format.json { render json: { message: "success", filePath: success_path } }
format.json { render json: { message: "success", filePath: final_success_path(success_path) } }
end
else
flash[:alert] = result[:message]
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment