From 69c927c32774c1fbca315254ef0ff2b99138c21f Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 14 Jan 2019 13:31:19 -0500 Subject: Added revision permalinks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are now URLs for each revision of a Pokémon. They are not linked to from anywhere yet. There are no embeds for them yet. refs #5 --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index fc93b1c..0151fff 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,6 +5,7 @@ Pokeviewer::Engine.routes.draw do resources :pokemon, only: [:show] do member do get 'embed' + get 'revisions/:revision_id', action: :show_revision, as: :show_revision end end -- cgit 1.4.1