diff options
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/agents_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/agents_controller.rb b/app/controllers/agents_controller.rb index 4acef9d..dc2717a 100644 --- a/app/controllers/agents_controller.rb +++ b/app/controllers/agents_controller.rb @@ -1,6 +1,6 @@ class AgentsController < ApplicationController def index - @agents = Agent.all + @agents = Agent.all.order(created_at: :desc) end def show |
