about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 514eb67..580cce4 100644 --- a/config/routes.rb +++ b/config/routes.rb
@@ -22,10 +22,9 @@ Rails.application.routes.draw do
22 passwords: 'users/passwords' 22 passwords: 'users/passwords'
23 } 23 }
24 24
25 root "blogs#index" 25 root "blogs#summary"
26 26
27 get 'says', to: 'blogs#index' 27 resources :blogs, only: [:index, :show], param: :slug, path: "blog"
28 get 'says/:slug', to: 'blogs#show', as: :blog
29 28
30 get 'thinks/:slug', to: 'streams#show', as: :stream 29 get 'thinks/:slug', to: 'streams#show', as: :stream
31 30