diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-26 17:47:16 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-26 17:47:16 -0400 |
commit | 3e4e4583fb751fb47013580ce86e2cc3a0e8353b (patch) | |
tree | 8118827bf1f2aa7ac9d967c3d4cc135390f03f23 /app/models | |
parent | a65972d34188d14dca10193950732d506d931e8c (diff) | |
download | pokeviewer-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/models')
-rw-r--r-- | app/models/pokeviewer/pokemon.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/pokeviewer/pokemon.rb b/app/models/pokeviewer/pokemon.rb index e493c66..7a1d088 100644 --- a/app/models/pokeviewer/pokemon.rb +++ b/app/models/pokeviewer/pokemon.rb | |||
@@ -102,7 +102,7 @@ module Pokeviewer | |||
102 | end | 102 | end |
103 | 103 | ||
104 | def outsider? | 104 | def outsider? |
105 | (ot_name != trainer.name) or (ot_number != trainer.number) | 105 | (trainer.nil?) or (ot_name != trainer.name) or (ot_number != trainer.number) |
106 | end | 106 | end |
107 | 107 | ||
108 | def location | 108 | def location |