Sha256: 2b4f58ce2ec52cdbeaf4d1253b77cfe9cb47f4f9788c4128e55ca1d32891f981

Contents?: true

Size: 217 Bytes

Versions: 6

Compression:

Stored size: 217 Bytes

Contents

module InsightsCloud
  class TasksController < ::ApplicationController
    def create
      selected_org = Organization.current
      InsightsCloud::Async::InsightsFullSync.perform_now(selected_org)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.9 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-1.0.9 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-0.9.9 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-0.9.8 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-1.0.8 app/controllers/insights_cloud/tasks_controller.rb
foreman_rh_cloud-2.0.8 app/controllers/insights_cloud/tasks_controller.rb