From 3e4e4583fb751fb47013580ce86e2cc3a0e8353b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 26 Sep 2017 17:47:16 -0400 Subject: Added section on homepage for Pokémon not in any game MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/pokeviewer/pokemon_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers') 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 class PokemonController < ApplicationController def index @trainers = Trainer.all + @unaccounted = Pokemon.where(trainer: nil) end def show -- cgit 1.4.1