about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-07-03 13:58:57 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-07-03 14:01:41 -0400
commit8e15dbd73035c2a2198a2828a20ddcebe0739823 (patch)
treef93ada8d2c3c06e8cf1908bf5b0e22b1b54dd956 /config
parent49b11f2864f75bcfb8d0d01439939ed68aa90b8f (diff)
downloadthoughts-8e15dbd73035c2a2198a2828a20ddcebe0739823.tar.gz
thoughts-8e15dbd73035c2a2198a2828a20ddcebe0739823.tar.bz2
thoughts-8e15dbd73035c2a2198a2828a20ddcebe0739823.zip
Implemented streams
Currently there are no links to the pages for editing stream updates, and the admin panel for managing streams could probably have a better look & feel, but here's some basic working functionality.

refs #8
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index cf0bdd6..7369514 100644 --- a/config/routes.rb +++ b/config/routes.rb
@@ -3,6 +3,10 @@ Rails.application.routes.draw do
3 get '/', to: 'dashboard#index' 3 get '/', to: 'dashboard#index'
4 4
5 resources :blogs, except: [:show] 5 resources :blogs, except: [:show]
6
7 resources :streams, except: [:show] do
8 resources :updates, except: [:index, :show]
9 end
6 end 10 end
7 11
8 mount Ckeditor::Engine => '/ckeditor' 12 mount Ckeditor::Engine => '/ckeditor'
@@ -16,5 +20,7 @@ Rails.application.routes.draw do
16 20
17 get 'says/:slug', to: 'blogs#show' 21 get 'says/:slug', to: 'blogs#show'
18 22
23 get 'thinks/:slug', to: 'streams#show'
24
19 mount Pokeviewer::Engine => '/poke3' 25 mount Pokeviewer::Engine => '/poke3'
20end 26end