class DraftImportsController
Public Instance Methods
Source
# File app/controllers/draft_imports_controller.rb, line 14 def show authorize :import, :new? render_wizard end
Source
# File app/controllers/draft_imports_controller.rb, line 20 def update authorize :import, :create? @draft_import.assign_attributes(update_params) reload_steps render_wizard @draft_import end