ぼざクリ タグ広場 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.
 
 
 
 
 
 

81 lines
2.1 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. get "nico_tag_relation/index"
  44. get "nico_tag_relation/show"
  45. get "nico_tag_relation/create"
  46. get "nico_tag_relation/update"
  47. get "nico_tag_relation/destroy"
  48. get "ip_addresses/index"
  49. get "ip_addresses/show"
  50. get "ip_addresses/create"
  51. get "ip_addresses/update"
  52. get "ip_addresses/destroy"
  53. root 'home#index'
  54. resources :posts
  55. resources :ip_addresses
  56. resources :nico_tag_relations
  57. resources :post_tags
  58. resources :settings
  59. resources :tag_aliases
  60. resources :tags
  61. resources :user_ips
  62. resources :user_post_views
  63. resources :users, only: [:create] do
  64. collection do
  65. post :verify
  66. get :me
  67. end
  68. end
  69. resources :wiki_pages
  70. # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
  71. # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
  72. # Can be used by load balancers and uptime monitors to verify that the app is live.
  73. # get "up" => "rails/health#show", as: :rails_health_check
  74. # Defines the root path route ("/")
  75. # root "posts#index"
  76. end