infopark_rails_connector 6.8.0.480.261594408 → 6.8.0.498.46559598
Sign up to get free protection for your applications and to get access to all the features.
@@ -61,9 +61,9 @@ module RailsConnector
|
|
61
61
|
obj.body_data_url
|
62
62
|
elsif obj.binary? && !obj.file_extension.blank?
|
63
63
|
__send__("cms_id_#{path_or_url}",
|
64
|
-
options.merge(:id => obj.id, :
|
64
|
+
options.merge(:id => obj.id, :slug => obj.slug.presence, :format => obj.file_extension))
|
65
65
|
else
|
66
|
-
routing_options = options.merge(:id => obj.id, :
|
66
|
+
routing_options = options.merge(:id => obj.id, :slug => obj.slug.presence)
|
67
67
|
__send__("cms_id_#{path_or_url}", routing_options)
|
68
68
|
end
|
69
69
|
end
|
data/config/cms_routes.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_rails_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 93119979
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 6
|
8
8
|
- 8
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
-
|
12
|
-
version: 6.8.0.
|
10
|
+
- 498
|
11
|
+
- 46559598
|
12
|
+
version: 6.8.0.498.46559598
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Infopark AG
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-12-
|
20
|
+
date: 2012-12-13 00:00:00 +01:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|