From 2405727d7d62fce31102520167cde42ee688c198 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 24 Sep 2017 11:23:27 -0400 Subject: 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 --- app/controllers/pokeviewer/pokemon_controller.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/controllers/pokeviewer/pokemon_controller.rb (limited to 'app/controllers') 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 @@ +require_dependency "pokeviewer/application_controller" + +module Pokeviewer + class PokemonController < ApplicationController + def index + @pokemon = Pokemon.all + end + + def show + @pokemon = Pokemon.find_by_uuid params[:id] + end + end +end -- cgit 1.4.1