Class: RailsDevtools::GemsController

Inherits:
BaseController show all
Defined in:
app/controllers/rails_devtools/gems_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
# File 'app/controllers/rails_devtools/gems_controller.rb', line 5

def index
  form = GemSearchForm.new(search: form_params[:search])
  render Gems::Index.new(gems: form.results, form: form)
end