Skip to content

Commit

Permalink
Fix redirect to index
Browse files Browse the repository at this point in the history
  • Loading branch information
top4ek authored Oct 16, 2024
1 parent 15fad25 commit 1a60ee5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def destroy
else
raise ActiveRecord::RecordNotFound
end
redirect_to action: "index", default: 1
redirect_to action: "index", default: 1, id: nil
end

##
Expand Down

0 comments on commit 1a60ee5

Please sign in to comment.