Permalink
Browse files

named leaderboard route

  • Loading branch information...
1 parent 3f8418d commit 5f1966d41561b8eca5c3fe60fc5d965d993ba2bc @levymetal committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/routes.rb
View
@@ -5,7 +5,7 @@
resources :players
- match "/leaderboard/(:id)" => "leaderboard#index"
+ match "/leaderboard/(:id)" => "leaderboard#index", :as => 'leaderboard'
root :to => "leaderboard#index"

0 comments on commit 5f1966d

Please sign in to comment.