ぼざクリ タグ広場 https://hub.nizika.monster
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

86 lines
2.3 KiB

  1. Rails.application.routes.draw do
  2. get "wiki_pages/index"
  3. get "wiki_pages/show"
  4. get "wiki_pages/create"
  5. get "wiki_pages/update"
  6. get "wiki_pages/destroy"
  7. get "users/index"
  8. get "users/show"
  9. get "users/create"
  10. get "users/update"
  11. get "users/destroy"
  12. get "user_post_views/index"
  13. get "user_post_views/show"
  14. get "user_post_views/create"
  15. get "user_post_views/update"
  16. get "user_post_views/destroy"
  17. get "user_ips/index"
  18. get "user_ips/show"
  19. get "user_ips/create"
  20. get "user_ips/update"
  21. get "user_ips/destroy"
  22. get "tags/index"
  23. get "tags/show"
  24. get "tags/create"
  25. get "tags/update"
  26. get "tags/destroy"
  27. get 'tags/autocomplete', to: 'tags#autocomplete'
  28. get "tag_aliases/index"
  29. get "tag_aliases/show"
  30. get "tag_aliases/create"
  31. get "tag_aliases/update"
  32. get "tag_aliases/destroy"
  33. get "settings/index"
  34. get "settings/show"
  35. get "settings/create"
  36. get "settings/update"
  37. get "settings/destroy"
  38. get "post_tags/index"
  39. get "post_tags/show"
  40. get "post_tags/create"
  41. get "post_tags/update"
  42. get "post_tags/destroy"
  43. post 'posts/:id/viewed', to: 'posts#viewed'
  44. delete 'posts/:id/viewed', to: 'posts#unviewed'
  45. get "nico_tag_relation/index"
  46. get "nico_tag_relation/show"
  47. get "nico_tag_relation/create"
  48. get "nico_tag_relation/update"
  49. get "nico_tag_relation/destroy"
  50. get "ip_addresses/index"
  51. get "ip_addresses/show"
  52. get "ip_addresses/create"
  53. get "ip_addresses/update"
  54. get "ip_addresses/destroy"
  55. get 'preview/title', to: 'preview#title'
  56. get 'preview/thumbnail', to: 'preview#thumbnail'
  57. get '/wiki/edit/:tag', to: 'wiki_proxy#edit'
  58. root 'home#index'
  59. resources :posts
  60. resources :ip_addresses
  61. resources :nico_tag_relations
  62. resources :post_tags
  63. resources :settings
  64. resources :tag_aliases
  65. resources :tags
  66. resources :user_ips
  67. resources :user_post_views
  68. resources :users, only: [:create] do
  69. collection do
  70. post :verify
  71. get :me
  72. end
  73. end
  74. resources :wiki_pages
  75. # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
  76. # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
  77. # Can be used by load balancers and uptime monitors to verify that the app is live.
  78. # get "up" => "rails/health#show", as: :rails_health_check
  79. # Defines the root path route ("/")
  80. # root "posts#index"
  81. end