mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 01:56:21 +00:00
13 lines
200 B
Ruby
13 lines
200 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# Una clase de I18n solo necesaria para Pundit
|
||
|
#
|
||
|
# ver app/policies/i18n.rb
|
||
|
class SiteTranslation
|
||
|
attr_reader :site
|
||
|
|
||
|
def initialize(site)
|
||
|
@site = site
|
||
|
end
|
||
|
end
|