#19 トップバーと新規作成ちょっとだけ

This commit is contained in:
2025-06-10 01:23:24 +09:00
parent 39dce3a39f
commit 5b8a560024
10 changed files with 327 additions and 67 deletions
+3 -2
View File
@@ -20,8 +20,9 @@ Rails.application.routes.draw do
delete 'posts/:id/viewed', to: 'posts#unviewed'
get 'preview/title', to: 'preview#title'
get 'preview/thumbnail', to: 'preview#thumbnail'
get 'wiki/*title', to: 'wiki_pages#show', format: false
post 'wiki/*title', to: 'wiki_pages#save', format: false
get 'wiki/:title', to: 'wiki_pages#show'
post 'wiki', to: 'wiki_pages#create'
put 'wiki/:id', to: 'wiki_pages#update'
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html