pjax_rails 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/pjax.rb +1 -0
- data/pjax_rails.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PJAX for Rails 3.1+
|
2
2
|
===================
|
3
3
|
|
4
|
-
Integrate Chris Wanstrath's PJAX into Rails 3.1+ via the asset pipeline.
|
4
|
+
Integrate Chris Wanstrath's [PJAX](https://github.com/defunkt/jquery-pjax) into Rails 3.1+ via the asset pipeline.
|
5
5
|
|
6
6
|
To activate, add this to your app/assets/javascripts/application.js (or whatever bundle you use):
|
7
7
|
|
@@ -22,7 +22,7 @@ The PJAX container has to be marked with data-pjax-container attribute, so for e
|
|
22
22
|
<%= content_tag :h3, 'My site' %>
|
23
23
|
<%= link_to 'About me', about_me_path %>
|
24
24
|
<!-- The following link will not be pjax'd -->
|
25
|
-
<%= link_to 'Google', 'http://google.com',
|
25
|
+
<%= link_to 'Google', 'http://google.com', 'data-skip-pjax' => true %>
|
26
26
|
</div>
|
27
27
|
</body>
|
28
28
|
|
data/lib/pjax.rb
CHANGED
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.7
|
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-
|
13
|
+
date: 2011-07-19 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|