Class: Meshcomplete::MeshcompleteController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/meshcomplete/meshcomplete_controller.rb

Instance Method Summary collapse

Instance Method Details

#searchObject



2
3
4
5
# File 'app/controllers/meshcomplete/meshcomplete_controller.rb', line 2

def search
  items = Synonym.search(params[:term])
  render :json => items
end