think_feel_do_engine 3.10.6 → 3.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d9c7bde321f8af9d402f0cd446dfd641dacc1e9
|
4
|
+
data.tar.gz: c3add2bb954d8074e1554530a853d30c43ce0d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b52720327273031d5a9c0498ec59377401629b9f85689e0d185a555f14c45ba5e3bc70678b4ad61063a58a467f7cdea457ac98d32e55d8eabd38907910ae3211
|
7
|
+
data.tar.gz: c4b40bbc414122c40ba6616dd8e7dc0d5adbf3b775ce9e237d73e5d1b0b0cebd4568e7c7303bbd8799ff0d589579b28c75b5aa2cbee40893d6c235c90c6a3f83
|
@@ -2,7 +2,7 @@ require "cancan"
|
|
2
2
|
|
3
3
|
module ThinkFeelDoEngine
|
4
4
|
# Site-wide controller superclass.
|
5
|
-
class ApplicationController <
|
5
|
+
class ApplicationController < ::ApplicationController
|
6
6
|
include ThinkFeelDoEngine::Concerns::BrowserDetective
|
7
7
|
|
8
8
|
ROOT_URI = "/"
|
@@ -21,13 +21,13 @@ module ThinkFeelDoEngine
|
|
21
21
|
|
22
22
|
def table_of_contents_display(slide)
|
23
23
|
if slide.slideshow && slide.slideshow.has_table_of_contents &&
|
24
|
-
|
24
|
+
slide.position == 1
|
25
25
|
render "think_feel_do_engine/slides/table_of_contents", slide: slide
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
29
|
def slide_panel(slide, slideshow, arm)
|
30
|
-
if slide.slideshow.has_table_of_contents &&
|
30
|
+
if slide.slideshow.has_table_of_contents && slide.position == 1
|
31
31
|
render "/think_feel_do_engine/bit_maker/slideshows/toc_panel",
|
32
32
|
slide: slide,
|
33
33
|
slideshow: slideshow,
|
@@ -5,12 +5,7 @@ module ThinkFeelDoEngine
|
|
5
5
|
|
6
6
|
config.to_prepare do
|
7
7
|
Devise::SessionsController.layout "think_feel_do_engine"
|
8
|
-
|
9
|
-
|
10
|
-
initializer "think_feel_do_engine.action_controller" do
|
11
|
-
ActiveSupport.on_load :action_controller do
|
12
|
-
helper ThinkFeelDoEngine::TasksHelper
|
13
|
-
end
|
8
|
+
ApplicationController.helper Engine.helpers
|
14
9
|
end
|
15
10
|
end
|
16
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: think_feel_do_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.10.
|
4
|
+
version: 3.10.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Carty-Fickes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|