Skip to content

Commit

Permalink
fixed #201
Browse files Browse the repository at this point in the history
  • Loading branch information
sashazykov committed Dec 8, 2014
1 parent 968e0c5 commit 3ffacf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Expand Up @@ -9,8 +9,8 @@

get '/users/login' => 'users#login' , :as => 'login_users'
get '/users/:user_id/tips' => 'tips#index' , :constraints => {:user_id => /\d+/} , :as => 'user_tips'
get '/users/:nickname/tips' => 'tips#index' , :constraints => {:nickname => /\D\w*/} , :as => 'user_tips_pretty'
get '/users/:nickname' => 'users#show' , :constraints => {:nickname => /\D\w*/} , :as => 'user_pretty'
get '/users/:nickname/tips' => 'tips#index' , :constraints => {:nickname => /\S+/} , :as => 'user_tips_pretty'
get '/users/:nickname' => 'users#show' , :constraints => {:nickname => /\S+/} , :as => 'user_pretty'

get '/projects/:project_id/tips' => 'tips#index' , :constraints => {:project_id => /\d+/} , :as => 'project_tips'
get '/projects/:project_id/deposits' => 'deposits#index' , :constraints => {:project_id => /\d+/} , :as => 'project_deposits'
Expand Down

0 comments on commit 3ffacf9

Please sign in to comment.