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.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 37e7f90..ac5b84d 100644 --- a/config/routes.rb +++ b/config/routes.rb
@@ -2,7 +2,7 @@ Rails.application.routes.draw do
2 namespace :admin do 2 namespace :admin do
3 get '/', to: 'dashboard#index' 3 get '/', to: 'dashboard#index'
4 4
5 resources :blogs, except: [:show] do 5 resources :blogs do
6 collection do 6 collection do
7 get 'drafts' 7 get 'drafts'
8 end 8 end
@@ -22,9 +22,9 @@ Rails.application.routes.draw do
22 22
23 root "records#index" 23 root "records#index"
24 24
25 get 'says/:slug', to: 'blogs#show' 25 get 'says/:slug', to: 'blogs#show', as: :blog
26 26
27 get 'thinks/:slug', to: 'streams#show' 27 get 'thinks/:slug', to: 'streams#show', as: :stream
28 28
29 mount Pokeviewer::Engine => '/poke3' 29 mount Pokeviewer::Engine => '/poke3'
30end 30end