magic_locales 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e98b8041ba800a7c591b77567e31a41e79735f08
4
- data.tar.gz: 369854c9316c039b5f63554939de2c993d9c3b7a
3
+ metadata.gz: 63b61cb86ddb3625e2ed8a7a7ad847bf586aaac6
4
+ data.tar.gz: 50c1f4c9c4bd6e30c7cb06494f0bd02d2c872624
5
5
  SHA512:
6
- metadata.gz: a9eadcad37d2434e7a5c8f86f9729017ffe42eee2dd1919ac76f413a09b2224762048e4802e70969954df535565a63d6b2a430fe10b85336f735b94f90b16a9a
7
- data.tar.gz: 8710f5560a842bee7a53f2a7468ca71df191e106713ae3eded2e12aa15c0bec14869693609330784311695d7c241bacaade9af72b7457d48a8beb4b83ac20d61
6
+ metadata.gz: 24f2f80f1652640c9c71b96810d4c58623a23a96686df952ffdd73c9b2c0c744deced5d299d29cfa9aa3dcb2b69bb5b4b2d728085a72df4cf7a6c6f31ee2c48b
7
+ data.tar.gz: 70cfbbc607e139d867b4f128f6a66971dded3aabb0881a252f34d948ac33aeb6da55670e3275ed7b1edde64a1cc460ac100fb632c2a818d7d6f34cf18606ea05
@@ -1,9 +1,6 @@
1
1
  # encoding: utf-8
2
2
  class MagicLocales::LocalesController < MagicLocales::BaseController
3
3
 
4
- # => layout proc { |controller| controller.request.xhr? ? 'xhr' : get_layout }
5
- layout proc { |controller| controller.request.xhr? ? false : "application" }
6
-
7
4
  def index
8
5
  # => @locales = ::MagicLocales::Locale.includes(:translations).with_translations(I18n.locale).order( 'mgclang_locale_translations.name ASC' )
9
6
  @locales = MagicLocales::Locale.where(locale_state: "live").includes(:translations).with_translations(I18n.locale).order( 'mgclang_locale_translations.name ASC' )
@@ -1,3 +1,3 @@
1
1
  module MagicLocales
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_locales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel