Skip to content

Commit

Permalink
controler routes optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr7 committed Jan 8, 2018
1 parent 53b7b40 commit 893a24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/markers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def new
def create
@marker = Marker.new(add_params)
if @marker.save
render action: "index", notice: 'Marker was successfully saved.'
redirect_to "/all", notice: 'Marker was successfully saved.'
else
render 'new'
end
Expand Down

0 comments on commit 893a24c

Please sign in to comment.