Skip to content

Commit

Permalink
fix redirect after update
Browse files Browse the repository at this point in the history
  • Loading branch information
usernaimandrey committed Dec 14, 2023
1 parent 3ea7fd8 commit 11f9099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/web/admin/resumes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def update
@resume = resume.becomes(Web::Admin::ResumeForm)
if @resume.update(params[:resume])
f(:success)
redirect_to admin_resumes_path
redirect_to edit_admin_resume_path(@resume)
else
f(:error)
render :edit, status: :unprocessable_entity
Expand Down

0 comments on commit 11f9099

Please sign in to comment.