about summary refs log tree commit diff stats
path: root/app/controllers
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-26 17:47:16 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-26 17:47:16 -0400
commit3e4e4583fb751fb47013580ce86e2cc3a0e8353b (patch)
tree8118827bf1f2aa7ac9d967c3d4cc135390f03f23 /app/controllers
parenta65972d34188d14dca10193950732d506d931e8c (diff)
downloadpokeviewer-3e4e4583fb751fb47013580ce86e2cc3a0e8353b.tar.gz
pokeviewer-3e4e4583fb751fb47013580ce86e2cc3a0e8353b.tar.bz2
pokeviewer-3e4e4583fb751fb47013580ce86e2cc3a0e8353b.zip
Added section on homepage for Pokémon not in any game
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/pokeviewer/pokemon_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/pokeviewer/pokemon_controller.rb b/app/controllers/pokeviewer/pokemon_controller.rb index 44ee791..17bd83d 100644 --- a/app/controllers/pokeviewer/pokemon_controller.rb +++ b/app/controllers/pokeviewer/pokemon_controller.rb
@@ -4,6 +4,7 @@ module Pokeviewer
4 class PokemonController < ApplicationController 4 class PokemonController < ApplicationController
5 def index 5 def index
6 @trainers = Trainer.all 6 @trainers = Trainer.all
7 @unaccounted = Pokemon.where(trainer: nil)
7 end 8 end
8 9
9 def show 10 def show