Skip to content
Snippets Groups Projects
Commit 3078a736 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

robust

parent d11dd87f
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ class Extranet::OrganizationsController < Extranet::ApplicationController
end
def search
@term = params[:term]
@term = params[:term].to_s
@organizations = current_extranet.organizations
.for_search_term(@term)
.ordered
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment