diff --git a/app/controllers/orgas_controller.rb b/app/controllers/orgas_controller.rb index 042e5b58..75c59c7a 100644 --- a/app/controllers/orgas_controller.rb +++ b/app/controllers/orgas_controller.rb @@ -1,6 +1,7 @@ # Groups life cycle class OrgasController < ApplicationController has_scope :region + has_scope :near, type: :hash, using: [:location, :distance] before_action :set_orga, except: [:index, :new, :create] before_action :set_mailer_host