diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 00:00:28 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 00:00:28 -0400 |
commit | ad80c40944743515a45d70014e8d5ffb88cd74fc (patch) | |
tree | 0e97b3d46f3ed3594a1e4074e4a5a06deefcd76d /config/routes.rb | |
parent | 5581530930129d7854ed5d99d058939ad9c790c2 (diff) | |
download | thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.tar.gz thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.tar.bz2 thoughts-ad80c40944743515a45d70014e8d5ffb88cd74fc.zip |
Started designing index page
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 787824f..64b02aa 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
@@ -1,3 +1,10 @@ | |||
1 | Rails.application.routes.draw do | 1 | Rails.application.routes.draw do |
2 | # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html | 2 | # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html |
3 | root "records#index" | ||
4 | |||
5 | get 'says/:slug', to: 'entries#show' | ||
6 | |||
7 | # get ':directory/:slug', to: 'entries#show', constraints: lambda { |request| | ||
8 | # Entry::DIRECTORIES.include? request.path_parameters['directory'] | ||
9 | # } | ||
3 | end | 10 | end |