Sha256: 7ef8bd129ac48fa6ef6b6256bfef588e03304d3c646efeb97012e4fe65288b98
Contents?: true
Size: 454 Bytes
Versions: 13
Compression:
Stored size: 454 Bytes
Contents
module Cell::Translation def self.included(includer) super includer.inheritable_attr :translation_path end def initialize(*) super @virtual_path = translation_path end private # If you override this to change this path, please report it on the trailblazer/chat gitter channel, # so we can find out best practices. def translation_path self.class.translation_path or self.class.controller_path.gsub("/", ".") end end
Version data entries
13 entries across 13 versions & 1 rubygems