mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Remove dead code
This commit is contained in:
parent
c86bd96588
commit
e8232258d8
3 changed files with 0 additions and 12 deletions
|
@ -3,10 +3,6 @@ module Admin
|
|||
load_and_authorize_resource
|
||||
before_action :set_registrar, only: [:show, :edit, :update, :destroy]
|
||||
|
||||
def search
|
||||
render json: Registrar.search_by_query(params[:q])
|
||||
end
|
||||
|
||||
def index
|
||||
@q = Registrar.joins(:accounts).ordered.search(params[:q])
|
||||
@registrars = @q.result.page(params[:page])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue