Sha256: 2406c13552650b11bfac110ba9ce3c7cf88377ba3c2898820905b18b302db180

Contents?: true

Size: 312 Bytes

Versions: 49

Compression:

Stored size: 312 Bytes

Contents

module LocaleHelper
  def locale_tags
    %Q{
      <script type="text/javascript">
        window.mumukiLocale = #{raw Organization.current.locale_json};
        mumuki.locale = '#{Organization.current.locale}';
        moment.locale('#{Organization.current.locale}');
      </script>
    }.html_safe
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
mumuki-laboratory-7.7.6 app/helpers/locale_helper.rb
mumuki-laboratory-7.7.5 app/helpers/locale_helper.rb
mumuki-laboratory-7.7.4 app/helpers/locale_helper.rb
mumuki-laboratory-7.7.3 app/helpers/locale_helper.rb
mumuki-laboratory-7.7.2 app/helpers/locale_helper.rb
mumuki-laboratory-7.7.1 app/helpers/locale_helper.rb
mumuki-laboratory-7.7.0 app/helpers/locale_helper.rb
mumuki-laboratory-7.6.2 app/helpers/locale_helper.rb
mumuki-laboratory-7.6.1 app/helpers/locale_helper.rb
mumuki-laboratory-7.6.0 app/helpers/locale_helper.rb
mumuki-laboratory-7.5.2 app/helpers/locale_helper.rb
mumuki-laboratory-7.5.1 app/helpers/locale_helper.rb
mumuki-laboratory-7.5.0 app/helpers/locale_helper.rb
mumuki-laboratory-7.4.2 app/helpers/locale_helper.rb
mumuki-laboratory-7.4.1 app/helpers/locale_helper.rb
mumuki-laboratory-7.4.0 app/helpers/locale_helper.rb
mumuki-laboratory-7.3.1 app/helpers/locale_helper.rb
mumuki-laboratory-7.3.0 app/helpers/locale_helper.rb
mumuki-laboratory-7.2.0 app/helpers/locale_helper.rb
mumuki-laboratory-7.1.0 app/helpers/locale_helper.rb