think_feel_do_engine 3.10.6 → 3.10.7

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: 8066cc14ba6971de5104aac7e9d0e7528bd53f3c
4
- data.tar.gz: 2fd1e3203a51e20b102719541b61afc96ca2a07b
3
+ metadata.gz: 6d9c7bde321f8af9d402f0cd446dfd641dacc1e9
4
+ data.tar.gz: c3add2bb954d8074e1554530a853d30c43ce0d59
5
5
  SHA512:
6
- metadata.gz: fb1e3a19178b1267989a9ef40dd137f9b9c69b9307f2ff85ccc68347a171a0868356db0afb34a28b823063baf953be427f2c722b0f1a73677d988c03c0236270
7
- data.tar.gz: 8495c67d3d8919d1d3b7afa273ced38b2ed8a318c587b09bf4480c469b7c76b2b0f2534d2f506129eb21c0a0c919bca877b20976f5b904ee710e1b0439ff5cef
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 < ActionController::Base
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
- 1 == slide.position
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 && 1 == slide.position
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
- end
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
@@ -1,4 +1,4 @@
1
1
  # nodoc
2
2
  module ThinkFeelDoEngine
3
- VERSION = "3.10.6"
3
+ VERSION = "3.10.7"
4
4
  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.6
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-20 00:00:00.000000000 Z
11
+ date: 2016-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails