ama_layout 8.0.1 → 8.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ama_layout/decorators/navigation_decorator.rb +3 -3
- data/lib/ama_layout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba422e9a28b42d0d5b030db721a5f73bc55733ef
|
4
|
+
data.tar.gz: 354156b125b79739e813462d65b4fea6b435191d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30bd40fa39479ff6a31c1c628720701e65fe7955f6afc1bfff473059e49b86858af2c19cd5d41022be4e6a8be95f3322afe2e9833280272c6b15906a8b8d97ad
|
7
|
+
data.tar.gz: 880d1ae33fc28d6ae6158a18570d4301529b41ede09eefa64b02935d620039029218df8c4a6cfcd468fbb736624e85c9ef9dc5ee449c7917876810d9054c4ea7
|
@@ -3,11 +3,11 @@ module AmaLayout
|
|
3
3
|
include AmaLayout::DraperReplacement
|
4
4
|
|
5
5
|
def items
|
6
|
-
object.items.map
|
6
|
+
object.items.map(&:decorate)
|
7
7
|
end
|
8
8
|
|
9
9
|
def display_name_text
|
10
|
-
name_or_email.try(:truncate,30)
|
10
|
+
name_or_email.try(:truncate, 30)
|
11
11
|
end
|
12
12
|
|
13
13
|
def sign_out_link
|
@@ -16,7 +16,7 @@ module AmaLayout
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def top_nav
|
19
|
-
h.render partial: "ama_layout/top_nav", locals: { navigation: self } if
|
19
|
+
h.render partial: "ama_layout/top_nav", locals: { navigation: self } if user
|
20
20
|
end
|
21
21
|
|
22
22
|
def sidebar
|
data/lib/ama_layout/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ama_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael van den Beuken
|
@@ -18,7 +18,7 @@ authors:
|
|
18
18
|
autorequire:
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
|
-
date: 2017-10-
|
21
|
+
date: 2017-10-06 00:00:00.000000000 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
name: foundation-rails
|