about summary refs log tree commit diff stats
path: root/app/models
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/models
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/models')
-rw-r--r--app/models/pokeviewer/pokemon.rb2
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