Sha256: ed8ac0b3b1841e37434c550de6d51e64bf33c08b5f162019171d3cfbc4d66d06

Contents?: true

Size: 189 Bytes

Versions: 52

Compression:

Stored size: 189 Bytes

Contents

module ForemanSalt
  class ApplicationController < ::ApplicationController
    def resource_class
      "ForemanSalt::#{controller_name.singularize.classify}".constantize
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
foreman_salt-17.0.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-16.0.3 app/controllers/foreman_salt/application_controller.rb
foreman_salt-16.0.2 app/controllers/foreman_salt/application_controller.rb
foreman_salt-16.0.1 app/controllers/foreman_salt/application_controller.rb
foreman_salt-16.0.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-15.2.3 app/controllers/foreman_salt/application_controller.rb
foreman_salt-15.2.2 app/controllers/foreman_salt/application_controller.rb
foreman_salt-15.2.1 app/controllers/foreman_salt/application_controller.rb
foreman_salt-15.2.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-15.1.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-15.0.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-14.1.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-14.0.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-13.2.4 app/controllers/foreman_salt/application_controller.rb
foreman_salt-13.2.3 app/controllers/foreman_salt/application_controller.rb
foreman_salt-13.2.2 app/controllers/foreman_salt/application_controller.rb
foreman_salt-13.2.1 app/controllers/foreman_salt/application_controller.rb
foreman_salt-13.2.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-13.1.0 app/controllers/foreman_salt/application_controller.rb
foreman_salt-13.0.0 app/controllers/foreman_salt/application_controller.rb