From 5ff9457ee3d2f1c636da8d13c47c608543d2e5f7 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 29 Jun 2017 14:53:15 -0400 Subject: Worked on style of blog posts --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/routes.rb') 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 root "records#index" get 'says/:slug', to: 'entries#show' + get 'says/:slug/edit', to: 'entries#edit' + put 'says/:slug', to: 'entries#update' + patch 'says/:slug', to: 'entries#update' # get ':directory/:slug', to: 'entries#show', constraints: lambda { |request| # Entry::DIRECTORIES.include? request.path_parameters['directory'] -- cgit 1.4.1