aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/shared_searches_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/shared_searches_controller.rb')
-rw-r--r--app/controllers/shared_searches_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/shared_searches_controller.rb b/app/controllers/shared_searches_controller.rb
index 3208e7c..066dd3e 100644
--- a/app/controllers/shared_searches_controller.rb
+++ b/app/controllers/shared_searches_controller.rb
@@ -4,7 +4,7 @@ class SharedSearchesController < ApplicationController
skip_before_action :user_authenticated!, only: %i[show]
def index
- @searches = Search.where(shared: true)
+ @searches = Search.where(shared: true).order(:name)
end
def show