1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00
fab-manager/app/policies/setting_context.rb

15 lines
228 B
Ruby

# frozen_string_literal: true
# Pundit Additional context to authorize getting a parameter
class SettingContext
attr_reader :name
def initialize(name)
@name = name
end
def policy_class
SettingPolicy
end
end