This commit is contained in:
2025-06-29 15:44:40 +09:00
parent 01b45c1a8d
commit 281c85f2f6
4 changed files with 46 additions and 21 deletions
+1
View File
@@ -1,5 +1,6 @@
Rails.application.routes.draw do
get 'tags/autocomplete', to: 'tags#autocomplete'
get 'posts/random', to: 'posts#random'
post 'posts/:id/viewed', to: 'posts#viewed'
delete 'posts/:id/viewed', to: 'posts#unviewed'
get 'preview/title', to: 'preview#title'