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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2810464e954489963b2130c0336529162fe711cc
|
4
|
+
data.tar.gz: 5e83114cac2f7fbbfab56ce3dcd9a22b837f70d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|