Class: BrDb::ImportStatesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/br_db/import_states_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



3
4
5
6
# File 'app/controllers/br_db/import_states_controller.rb', line 3

def create
  LoadStatesJob.perform_later
  render json: { message: "States are being imported" }
end