|
21 | 21 | end
|
22 | 22 | end
|
23 | 23 |
|
24 |
| - match 'u/:username' => 'users#show', :via => :get, :as => :username |
| 24 | + match 'startups/profile_details/:id' => 'startups#profile_details', :via => :get, :as => :startup_profile_details |
| 25 | + match 'startups/profile_team/:id' => 'startups#profile_team', :via => :get, :as => :startup_profile_team |
25 | 26 |
|
26 |
| - match 'my/profile' => 'users#show', :via => :get |
27 |
| - match 'my/home' => 'users#home', :via => :get |
28 |
| - match 'my/messages(/:type)' => 'users#messages', :via => :get, :as => :my_messages |
29 |
| - match 'my/micro_posts' => 'users#add_micro_post', :via => :post |
| 27 | + match 'u/:username' => 'users#show', :via => :get, :as => :username |
30 | 28 |
|
31 |
| - match 'my/follow/:target_id' => 'users#follow_target', :via => :post, :as => :follow_target |
32 |
| - match 'my/unfollow/:target_id' => 'users#unfollow_target', :via => :post, :as => :unfollow_target |
| 29 | + match 'my/profile' => 'users#show', :via => :get |
| 30 | + match 'my/home' => 'users#home', :via => :get |
| 31 | + match 'my/private_messages/:id' => 'messages#show_private_message', :via => :get, :as => :my_private_message |
| 32 | + match 'my/private_messages/:id' => 'messages#reply_private_message', :via => :post, :as => :my_private_message |
| 33 | + match 'my/message_inboxes(/:type)' => 'users#message_inboxes', :via => :get, :as => :my_message_inbox |
| 34 | + match 'my/micro_posts' => 'users#add_micro_post', :via => :post |
| 35 | + |
| 36 | + match 'my/follow/:target_id' => 'users#follow_target', :via => :post, :as => :follow_target |
| 37 | + match 'my/unfollow/:target_id' => 'users#unfollow_target', :via => :post, :as => :unfollow_target |
33 | 38 |
|
34 | 39 | # The priority is based upon order of creation:
|
35 | 40 | # first created -> highest priority.
|
|
86 | 91 |
|
87 | 92 | # This is a legacy wild controller route that's not recommended for RESTful applications.
|
88 | 93 | # Note: This route will make all actions in every controller accessible via GET requests.
|
89 |
| - match ':controller(/:action(/:id(.:format)))' |
| 94 | + # match ':controller(/:action(/:id(.:format)))' |
90 | 95 | end
|
0 commit comments