diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-03 13:58:57 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-03 14:01:41 -0400 |
| commit | 8e15dbd73035c2a2198a2828a20ddcebe0739823 (patch) | |
| tree | f93ada8d2c3c06e8cf1908bf5b0e22b1b54dd956 /config | |
| parent | 49b11f2864f75bcfb8d0d01439939ed68aa90b8f (diff) | |
| download | thoughts-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.rb | 6 |
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' |
| 20 | end | 26 | end |
