about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-11 10:31:33 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-11 10:31:33 -0400
commitffcc44d1a73ae1191e835fa625f2f8a7e3e25bda (patch)
tree55e9825d4e7d59cdad345d85ac4adf60607568b9 /config
parent1622895cd467f59f25fe375f081aa59693ae4c8f (diff)
downloadthoughts-ffcc44d1a73ae1191e835fa625f2f8a7e3e25bda.tar.gz
thoughts-ffcc44d1a73ae1191e835fa625f2f8a7e3e25bda.tar.bz2
thoughts-ffcc44d1a73ae1191e835fa625f2f8a7e3e25bda.zip
Blogs list is now main page (with pagination)
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index f524cf1..d1d1d35 100644 --- a/config/routes.rb +++ b/config/routes.rb
@@ -24,8 +24,9 @@ Rails.application.routes.draw do
24 passwords: 'users/passwords' 24 passwords: 'users/passwords'
25 } 25 }
26 26
27 root "records#index" 27 root "blogs#index"
28 28
29 get 'says', to: 'blogs#index'
29 get 'says/:slug', to: 'blogs#show', as: :blog 30 get 'says/:slug', to: 'blogs#show', as: :blog
30 31
31 get 'thinks/:slug', to: 'streams#show', as: :stream 32 get 'thinks/:slug', to: 'streams#show', as: :stream