Sha256: 6107d048e4808a1f470e88c9e0dff8efe74abb2bc0fabfd3e741efb1b13fd2ef

Contents?: true

Size: 199 Bytes

Versions: 24

Compression:

Stored size: 199 Bytes

Contents

class TemplateSyncsController < ReactController
  def index
  end

  def action_permission
    case params[:action]
    when 'index'
      :view_template_syncs
    else
      super
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
foreman_templates-7.0.3 app/controllers/template_syncs_controller.rb
foreman_templates-7.0.2 app/controllers/template_syncs_controller.rb
foreman_templates-7.0.1 app/controllers/template_syncs_controller.rb
foreman_templates-7.0.0 app/controllers/template_syncs_controller.rb