Replace typeahead, working registrar selection

This commit is contained in:
Martin Lensment 2014-09-09 12:39:32 +03:00
parent c24c8c7181
commit 13349a6bc9
9 changed files with 79 additions and 23 deletions

View file

@ -1,5 +1,5 @@
class Admin::RegistrarsController < ApplicationController
def search
render json: Registrar.search_by_query(params[:query])
render json: Registrar.search_by_query(params[:q])
end
end