about summary refs log tree commit diff stats
path: root/app/controllers
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 11:23:27 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 11:23:27 -0400
commit2405727d7d62fce31102520167cde42ee688c198 (patch)
treefbbf85f42ca6f0c17573974ca9c265a0d5aaf060 /app/controllers
parent0df34b64734e686f399ad7081c9b4e4921f75d64 (diff)
downloadpokeviewer-2405727d7d62fce31102520167cde42ee688c198.tar.gz
pokeviewer-2405727d7d62fce31102520167cde42ee688c198.tar.bz2
pokeviewer-2405727d7d62fce31102520167cde42ee688c198.zip
Started working on UI
This commit imports a lot of assets from veekun, as well as a font from
http://www.victoryroad.net/showthread.php?t=1507
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/pokeviewer/pokemon_controller.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/controllers/pokeviewer/pokemon_controller.rb b/app/controllers/pokeviewer/pokemon_controller.rb new file mode 100644 index 0000000..aaf6586 --- /dev/null +++ b/app/controllers/pokeviewer/pokemon_controller.rb
@@ -0,0 +1,13 @@
1require_dependency "pokeviewer/application_controller"
2
3module Pokeviewer
4 class PokemonController < ApplicationController
5 def index
6 @pokemon = Pokemon.all
7 end
8
9 def show
10 @pokemon = Pokemon.find_by_uuid params[:id]
11 end
12 end
13end