Skip to content

Commit

Permalink
fixed a redirect issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rukshanuddin committed Apr 29, 2020
1 parent f1c04a1 commit 6f4a568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def index

# GET /users/1
def show
redirect_to user_path(@user)
redirect_to user_comments_path(@user)
end

# POST /users
Expand Down

0 comments on commit 6f4a568

Please sign in to comment.