infopark_fiona7 1.1.0.0.2 → 1.1.0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/scrivito/cms_dispatch_controller.rb +2 -1
- data/lib/fiona7/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: 38e1fa4de2f2c2a04c38458c85453f4ec0392a00
|
4
|
+
data.tar.gz: 349f9e81560e27809f5c92f6b091a5648fa85e42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6830670ae4b149c9f8e205f4f1b2d82e89ca820a43dc47c56dd945fb609e1384da6b45d2247eaa7b7a70633df43117e1cbcddfaa04aade179ac7316d36f70b3
|
7
|
+
data.tar.gz: 1d9fea097086ecfceb74caa058b41f784bf5ddee9cc740aad5d712b665581ad42d9609284d74c0f06aec8e682800dbf269426cad326af4843cb197e6524db106
|
@@ -44,7 +44,8 @@ module Scrivito
|
|
44
44
|
return default_controller if obj_not_found?
|
45
45
|
controller = "#{loaded_obj.controller_name}Controller".constantize
|
46
46
|
|
47
|
-
if controller.respond_to?(:use_for_obj_dispatch?) && controller.use_for_obj_dispatch?
|
47
|
+
if (Fiona7.mode == :legacy && controller.respond_to?(:use_for_obj_dispatch?) && controller.use_for_obj_dispatch? && controller.include?(Scrivito::ControllerActions)) ||
|
48
|
+
(Fiona7.mode != :legacy && controller.respond_to?(:use_for_obj_dispatch?) && controller.use_for_obj_dispatch?)
|
48
49
|
controller
|
49
50
|
else
|
50
51
|
default_controller
|
data/lib/fiona7/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_fiona7
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.0.
|
4
|
+
version: 1.1.0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Przedmojski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|