enjoy_cms_catalog 0.4.0.2 → 0.4.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f39e754f172af61495b754ca27e923ffbb8fec77
4
- data.tar.gz: df785e260cdd91148e46cecc20a23a70f1327aeb
3
+ metadata.gz: 2810464e954489963b2130c0336529162fe711cc
4
+ data.tar.gz: 5e83114cac2f7fbbfab56ce3dcd9a22b837f70d2
5
5
  SHA512:
6
- metadata.gz: cb2083378475bc2787824d240f668c6a8867d76249083e2f5079870147795408ceac0bc47c939b0d80fe838ab3ed006fbffbed9a9ef4966356cab0cba838c2da
7
- data.tar.gz: ebc368a2edae3cb85f4c2f66fb6b3a795fbd680e92de3288560cb0bc6201546eeac35694ce97da904f6f037b46992efea66ab348c50955cbc321047fa18508e9
6
+ metadata.gz: f4dd7c53c72ba0b3fdd36e6082ee481270c4d9ba0c4e82e18ca4fc569345ab701390e9433e602b5b1d1c6081809f71bc9aaf9f700ea6400f376fd2d8cb8cb573
7
+ data.tar.gz: ee2ed9fd6e141c3d987299590a0be8a3cd70accb65afd2bb18b8378b087d5da226617fa91debd408c0c0a6a7873304c52a08a3f0adcfd4b2e46bf1eaba195681
@@ -3,6 +3,10 @@ module Enjoy::Catalog
3
3
  module Categories
4
4
  extend ActiveSupport::Concern
5
5
 
6
+ def insert_breadcrumbs
7
+ true
8
+ end
9
+
6
10
  included do
7
11
  if Enjoy::Catalog.config.breadcrumbs_on_rails_support
8
12
  add_breadcrumb I18n.t('enjoy.breadcrumbs.catalog'), :enjoy_catalog_path if insert_breadcrumbs
@@ -51,10 +55,6 @@ module Enjoy::Catalog
51
55
  Enjoy::Catalog::Item
52
56
  end
53
57
 
54
- def insert_breadcrumbs
55
- true
56
- end
57
-
58
58
  # def index_crumbs
59
59
  # if @seo_parent_page
60
60
  # catalog_title = Settings.ns('breadcrumbs').catalog_title(default: "Каталог", label: "'Каталог' в breadcrumbs")
@@ -3,6 +3,10 @@ module Enjoy::Catalog
3
3
  module Items
4
4
  extend ActiveSupport::Concern
5
5
 
6
+ def insert_breadcrumbs
7
+ true
8
+ end
9
+
6
10
  included do
7
11
  if Enjoy::Catalog.config.breadcrumbs_on_rails_support
8
12
  add_breadcrumb I18n.t('enjoy.breadcrumbs.items'), :enjoy_items_path if insert_breadcrumbs
@@ -1,5 +1,5 @@
1
1
  module Enjoy
2
2
  module Catalog
3
- VERSION = "0.4.0.2"
3
+ VERSION = "0.4.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enjoy_cms_catalog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.2
4
+ version: 0.4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kiseliev