diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-29 14:53:15 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-29 14:53:15 -0400 |
commit | 5ff9457ee3d2f1c636da8d13c47c608543d2e5f7 (patch) | |
tree | 1f573d03fe248a01a420a809a1a3a325c80774f7 /config/routes.rb | |
parent | 5a82b1a0bdf24cdf0a05a84183106ff106f88626 (diff) | |
download | thoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.tar.gz thoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.tar.bz2 thoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.zip |
Worked on style of blog posts
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9c94f8a..e409840 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
@@ -4,6 +4,9 @@ Rails.application.routes.draw do | |||
4 | root "records#index" | 4 | root "records#index" |
5 | 5 | ||
6 | get 'says/:slug', to: 'entries#show' | 6 | get 'says/:slug', to: 'entries#show' |
7 | get 'says/:slug/edit', to: 'entries#edit' | ||
8 | put 'says/:slug', to: 'entries#update' | ||
9 | patch 'says/:slug', to: 'entries#update' | ||
7 | 10 | ||
8 | # get ':directory/:slug', to: 'entries#show', constraints: lambda { |request| | 11 | # get ':directory/:slug', to: 'entries#show', constraints: lambda { |request| |
9 | # Entry::DIRECTORIES.include? request.path_parameters['directory'] | 12 | # Entry::DIRECTORIES.include? request.path_parameters['directory'] |