Use _path consistently in the controllers when not changing host

This commit is contained in:
David Heinemeier Hansson
2024-10-19 19:00:04 -07:00
parent 6c5db3826b
commit b7efd04a43
12 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class UsersController < ApplicationController
def create
user = @account.users.create!(user_params)
start_new_session_for user
redirect_to root_url
redirect_to root_path
end
private