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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2aa4f95c72dbb1df2df30eb2aecf812eeadfbe0e
4
- data.tar.gz: b2b9ba8c7221323adb1aaa6b9cf2dcf4001e8959
3
+ metadata.gz: 38e1fa4de2f2c2a04c38458c85453f4ec0392a00
4
+ data.tar.gz: 349f9e81560e27809f5c92f6b091a5648fa85e42
5
5
  SHA512:
6
- metadata.gz: aca73230bef220c3bf97df405f9e6d83c4df11860856ac91db5dde5a40dfe4fd269e15253339e8fd68232b06ccb63e66681497c9392d88a05fb15caf5e23e128
7
- data.tar.gz: 566f30c2e5dd1a29086b8e36639c9045b7e8886e6b996ef9661f980fcc18c4d1f1725661a4523e5f57bea637474174f86d0a6fbef3f2ff32413f4890e4a175a7
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
@@ -1,3 +1,3 @@
1
1
  module Fiona7
2
- VERSION = "1.1.0.0.2"
2
+ VERSION = "1.1.0.0.3"
3
3
  end
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.2
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-02-23 00:00:00.000000000 Z
11
+ date: 2016-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails