Class: AutocompleteController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- AutocompleteController
- Defined in:
- app/controllers/autocomplete_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
2 3 4 5 6 7 8 |
# File 'app/controllers/autocomplete_controller.rb', line 2 def index respond_to do |format| format.json { render :json => autocomplete_results } end end |