|
1 | 1 | # == Route Map
|
2 | 2 | #
|
| 3 | +# RAILS_ENV=development |
| 4 | +# Connecting to database specified by database.yml |
| 5 | +# Creating scope :near. Overwriting existing method TeamLocation.near. |
| 6 | +# GET /.json(.:format) #<Proc:0x0000000ce1f440@/vagrant/config/routes.rb:288> |
| 7 | +# GET /teams/.json(.:format) #<Proc:0x0000000ce1ccb8@/vagrant/config/routes.rb:289> |
3 | 8 | # protips_update GET|PUT /protips/update(.:format) protips#update
|
4 | 9 | # protip_update GET|PUT /protip/update(.:format) protip#update
|
5 | 10 | # root / protips#index
|
|
33 | 38 | # tag_protip POST /p/:id/tag(.:format) protips#tag {:id=>/[\dA-Z\-_]{6}/i}
|
34 | 39 | # flag_protip POST /p/:id/flag(.:format) protips#flag {:id=>/[\dA-Z\-_]{6}/i}
|
35 | 40 | # feature_protip POST /p/:id/feature(.:format) protips#feature {:id=>/[\dA-Z\-_]{6}/i}
|
36 |
| -# queue_protip POST /p/:id/queue/:queue(.:format) protips#queue {:id=>/[\dA-Z\-_]{6}/i} |
37 | 41 | # delete_tag_protip POST /p/:id/delete_tag/:topic(.:format) protips#delete_tag {:id=>/[\dA-Z\-_]{6}/i, :topic=>/[A-Za-z0-9#\$\+\-_\.(%23)(%24)(%2B)]+/}
|
38 | 42 | # like_protip_comment POST /p/:protip_id/comments/:id/like(.:format) comments#like {:id=>/\d+/, :protip_id=>/[\dA-Z\-_]{6}/i}
|
39 | 43 | # protip_comments GET /p/:protip_id/comments(.:format) comments#index {:id=>/\d+/, :protip_id=>/[\dA-Z\-_]{6}/i}
|
|
67 | 71 | # network GET /n/:id(.:format) networks#show {:slug=>/[\dA-Z\-]/i}
|
68 | 72 | # PUT /n/:id(.:format) networks#update {:slug=>/[\dA-Z\-]/i}
|
69 | 73 | # DELETE /n/:id(.:format) networks#destroy {:slug=>/[\dA-Z\-]/i}
|
70 |
| -# dequeue_processing_queue POST /q/:id/dequeue/:item(.:format) processing_queues#dequeue |
71 |
| -# processing_queues GET /q(.:format) processing_queues#index |
72 |
| -# POST /q(.:format) processing_queues#create |
73 |
| -# new_processing_queue GET /q/new(.:format) processing_queues#new |
74 |
| -# edit_processing_queue GET /q/:id/edit(.:format) processing_queues#edit |
75 |
| -# processing_queue GET /q/:id(.:format) processing_queues#show |
76 |
| -# PUT /q/:id(.:format) processing_queues#update |
77 |
| -# DELETE /q/:id(.:format) processing_queues#destroy |
78 | 74 | # protips GET /trending(.:format) protips#index
|
79 | 75 | # faq GET /faq(.:format) pages#show {:page=>:faq}
|
80 | 76 | # tos GET /tos(.:format) pages#show {:page=>:tos}
|
|
132 | 128 | # accept_team GET /teams/:id/accept(.:format) teams#accept
|
133 | 129 | # record_exit_team POST /teams/:id/record-exit(.:format) teams#record_exit
|
134 | 130 | # visitors_team GET /teams/:id/visitors(.:format) teams#visitors
|
135 |
| -# follow_team POST /teams/:id/follow(.:format) follows#create {:type=>:team} |
| 131 | +# follow_team POST /teams/:id/follow(.:format) teams#follow |
136 | 132 | # join_team POST /teams/:id/join(.:format) teams#join
|
137 | 133 | # approve_join_team POST /teams/:id/join/:user_id/approve(.:format) teams#approve_join
|
138 | 134 | # deny_join_team POST /teams/:id/join/:user_id/deny(.:format) teams#deny_join
|
|
266 | 262 | # callbacks_hawt_feature POST /callbacks/hawt/feature(.:format) callbacks/hawt#feature
|
267 | 263 | # callbacks_hawt_unfeature POST /callbacks/hawt/unfeature(.:format) callbacks/hawt#unfeature
|
268 | 264 | # admin_root GET /admin(.:format) admin#index
|
269 |
| -# admin_failed_jobs GET /admin/failed_jobs(.:format) admin#failed_jobs |
270 | 265 | # admin_teams GET /admin/teams(.:format) admin#teams
|
271 | 266 | # admin_sections_teams GET /admin/teams/sections/:num_sections(.:format) admin#sections_teams
|
272 | 267 | # admin_section_teams GET /admin/teams/section/:section(.:format) admin#section_teams
|
273 | 268 | # admin_sidekiq_web /admin/sidekiq Sidekiq::Web
|
274 |
| -# /mail_view MailPreview |
275 |
| -# letter_opener_letters GET /letter_opener(.:format) letter_opener/letters#index |
276 |
| -# letter_opener_letter GET /letter_opener/:id/:style.html(.:format) letter_opener/letters#show |
277 |
| -# /campaigns Campaigns::Preview |
278 |
| -# /mail Notifier::Preview |
279 |
| -# /digest WeeklyDigest::Preview |
280 |
| -# /subscription Subscription::Preview |
281 |
| -# letter_opener_letters /letter_opener(.:format) letter_opener/letters#index |
282 |
| -# letter_opener_letter /letter_opener/:id/:style.html(.:format) letter_opener/letters#show |
283 | 269 | #
|
284 | 270 |
|
285 | 271 | Coderwall::Application.routes.draw do
|
|
332 | 318 | post 'tag'
|
333 | 319 | post 'flag'
|
334 | 320 | post 'feature'
|
335 |
| - post 'queue/:queue' => 'protips#queue', as: :queue |
336 | 321 | post 'delete_tag/:topic' => 'protips#delete_tag', as: :delete_tag, :topic => topic_regex
|
337 | 322 | end
|
338 | 323 | resources :comments, :constraints => {id: /\d+/} do
|
|
357 | 342 | end
|
358 | 343 | end
|
359 | 344 |
|
360 |
| - resources :processing_queues, :path => '/q' do |
361 |
| - member { post '/dequeue/:item' => 'processing_queues#dequeue', as: :dequeue } |
362 |
| - end |
363 |
| - |
364 | 345 | get 'trending' => 'protips#index', as: :protips
|
365 | 346 |
|
366 | 347 | get 'faq' => 'pages#show', :page => :faq, as: :faq
|
|
0 commit comments