Use double quotes in controllers/
This commit is contained in:
@@ -6,14 +6,14 @@ class Admin::OrganizationsController < Admin::BaseController
|
||||
def index
|
||||
@organizations = @organizations.send(@current_filter)
|
||||
@organizations = @organizations.includes(:user)
|
||||
.order('users.created_at', :name, 'users.email')
|
||||
.order("users.created_at", :name, "users.email")
|
||||
.page(params[:page])
|
||||
end
|
||||
|
||||
def search
|
||||
@organizations = Organization.includes(:user)
|
||||
.search(params[:term])
|
||||
.order('users.created_at', :name, 'users.email')
|
||||
.order("users.created_at", :name, "users.email")
|
||||
.page(params[:page])
|
||||
end
|
||||
|
||||
@@ -27,4 +27,4 @@ class Admin::OrganizationsController < Admin::BaseController
|
||||
redirect_to request.query_parameters.merge(action: :index)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user