about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-06-29 14:53:15 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-06-29 14:53:15 -0400
commit5ff9457ee3d2f1c636da8d13c47c608543d2e5f7 (patch)
tree1f573d03fe248a01a420a809a1a3a325c80774f7 /config
parent5a82b1a0bdf24cdf0a05a84183106ff106f88626 (diff)
downloadthoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.tar.gz
thoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.tar.bz2
thoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.zip
Worked on style of blog posts
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
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']