biola_wcms_components 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/helpers/wcms_components/navigation_helper.rb +3 -2
- data/lib/biola_wcms_components/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: 14d5793f35913b63f422a4cc5c0ecf4eca2caea6
|
4
|
+
data.tar.gz: 50d025d89a7a996204448d8c94a4b8b5c2b2bfcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0229026ebdd636d0c806cd621bff1708f52514dc5d10c2855a4613918b2c00edf02e655b7260ac17671117da98627fc8fdeef9222b749fa844d774e9b6ad740
|
7
|
+
data.tar.gz: 537fa554c4835f72f7b864c6c70d28513bc2042ca30e0cefaed53c2757caed6115e30b0a23814c84dc2dbaff479cf4d33785633fbe34759468f923b1c334458c
|
data/CHANGELOG.md
CHANGED
@@ -4,8 +4,9 @@ module WcmsComponents
|
|
4
4
|
# Set class on active navigation items
|
5
5
|
def nav_link(text, path_helper)
|
6
6
|
# The router can't match against a relative root in the path
|
7
|
-
# so we need to strip it out with script_name:
|
8
|
-
|
7
|
+
# so we need to strip it out with script_name: ''.
|
8
|
+
# Note: passing nil as the script_name does not work
|
9
|
+
router_path = send(path_helper, script_name: '')
|
9
10
|
real_path = send(path_helper)
|
10
11
|
|
11
12
|
recognized = ::Rails.application.routes.recognize_path(router_path)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: biola_wcms_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.24.
|
4
|
+
version: 0.24.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Hall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ace-rails-ap
|