pjax-rails 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pjax-rails.rb +1 -3
- data/pjax-rails.gemspec +1 -1
- metadata +2 -2
data/lib/pjax-rails.rb
CHANGED
@@ -3,9 +3,7 @@ require 'pjax'
|
|
3
3
|
module PjaxRails
|
4
4
|
class Engine < ::Rails::Engine
|
5
5
|
initializer "pjax_rails.add_controller" do
|
6
|
-
|
7
|
-
::ApplicationController.send :include, Pjax
|
8
|
-
end
|
6
|
+
config.to_prepare { ApplicationController.send :include, Pjax }
|
9
7
|
end
|
10
8
|
end
|
11
9
|
end
|
data/pjax-rails.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pjax-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- David Heinemeier Hansson (PJAX by Chris Wanstrath)
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-23 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|