Add root route pointing to rankings page
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
module EuchreCamp
|
module EuchreCamp
|
||||||
class Routes < Hanami::Routes
|
class Routes < Hanami::Routes
|
||||||
# Add your routes here. See https://guides.hanamirb.org/routing/overview/ for details.
|
# Add your routes here. See https://guides.hanamirb.org/routing/overview/ for details.
|
||||||
|
root to: "players.rankings"
|
||||||
|
|
||||||
get "/players/:id", to: "players.show"
|
get "/players/:id", to: "players.show"
|
||||||
get "/rankings", to: "players.rankings"
|
get "/rankings", to: "players.rankings"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user