From 8e15dbd73035c2a2198a2828a20ddcebe0739823 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 3 Jul 2018 13:58:57 -0400 Subject: 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 --- config/routes.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/routes.rb') 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 get '/', to: 'dashboard#index' resources :blogs, except: [:show] + + resources :streams, except: [:show] do + resources :updates, except: [:index, :show] + end end mount Ckeditor::Engine => '/ckeditor' @@ -16,5 +20,7 @@ Rails.application.routes.draw do get 'says/:slug', to: 'blogs#show' + get 'thinks/:slug', to: 'streams#show' + mount Pokeviewer::Engine => '/poke3' end -- cgit 1.4.1