Class: RailsDevtools::DatabaseTablesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



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

def index
  form = DatabaseTableSearchForm.new(search: form_params[:search])
  render DatabaseTables::Index.new(tables: form.results, form: form)
end