about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2019-01-14 13:31:19 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2019-01-14 13:31:19 -0500
commit69c927c32774c1fbca315254ef0ff2b99138c21f (patch)
tree73d04f9cb9faa31d0258735a41b5867d6971bc17 /config
parentf1d4da70ccb3d298cc7cf1cdcde2748048238dab (diff)
downloadpokeviewer-69c927c32774c1fbca315254ef0ff2b99138c21f.tar.gz
pokeviewer-69c927c32774c1fbca315254ef0ff2b99138c21f.tar.bz2
pokeviewer-69c927c32774c1fbca315254ef0ff2b99138c21f.zip
Added revision permalinks
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
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
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
5 resources :pokemon, only: [:show] do 5 resources :pokemon, only: [:show] do
6 member do 6 member do
7 get 'embed' 7 get 'embed'
8 get 'revisions/:revision_id', action: :show_revision, as: :show_revision
8 end 9 end
9 end 10 end
10 11