summaryrefslogtreecommitdiff
path: root/app/controllers/games/ptu
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/games/ptu')
-rw-r--r--app/controllers/games/ptu/encounters_controller.rb2
-rw-r--r--app/controllers/games/ptu/pokemon_controller.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/games/ptu/encounters_controller.rb b/app/controllers/games/ptu/encounters_controller.rb
index a7da852..07d6c7f 100644
--- a/app/controllers/games/ptu/encounters_controller.rb
+++ b/app/controllers/games/ptu/encounters_controller.rb
@@ -1,6 +1,6 @@
class Games::Ptu::EncountersController < ApplicationController
def index
- @pokemons = PtuPokemon.all
+ @pokemons = PtuPokemon.all.order("name ASC")
if params[:commit]
@results = []
pokemon = PtuPokemon.find(params[:pokemon])
diff --git a/app/controllers/games/ptu/pokemon_controller.rb b/app/controllers/games/ptu/pokemon_controller.rb
index e5329a7..1b88063 100644
--- a/app/controllers/games/ptu/pokemon_controller.rb
+++ b/app/controllers/games/ptu/pokemon_controller.rb
@@ -1,6 +1,6 @@
class Games::Ptu::PokemonController < ApplicationController
def index
- @pokemons = PtuPokemon.all
+ @pokemons = PtuPokemon.all.order("name ASC")
end
def show