Skip to content

Commit

Permalink
fixed missing my_network route definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaphi committed Oct 26, 2024
1 parent c0559ea commit 1faf2d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ def posts
end
end

def my_network
redirect_to network_path(current_user)
end

def network
@communities = Community.all
render layout: 'without_sidebar'
Expand Down

0 comments on commit 1faf2d9

Please sign in to comment.