Class: ImportsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ImportsController
- Defined in:
- app/controllers/imports_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#create ⇒ Object
8 9 10 11 |
# File 'app/controllers/imports_controller.rb', line 8 def create CreateObjectFromUrlJob.perform_later(url: @url, owner: current_user) redirect_to helpers.landing_page_path, notice: t(".success") end |
#new ⇒ Object
5 6 |
# File 'app/controllers/imports_controller.rb', line 5 def new end |