pjax_rails 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pjax.rb +1 -1
  2. data/pjax_rails.gemspec +1 -1
  3. metadata +1 -1
@@ -13,7 +13,7 @@ module Pjax
13
13
  if (!window.history || !window.history.pushState) {
14
14
  window.location.href = '#{new_url}';
15
15
  } else {
16
- $('[data-pjax-container]').html(#{render_to_string("#{action}.html.erb").to_json});
16
+ $('[data-pjax-container]').html(#{render_to_string("#{action}.html.erb", layout: false).to_json});
17
17
  $(document).trigger('end.pjax');
18
18
 
19
19
  var title = $.trim($('[data-pjax-container]').find('title').remove().text());
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pjax_rails'
3
- s.version = '0.1.5'
3
+ s.version = '0.1.6'
4
4
  s.author = 'David Heinemeier Hansson (PJAX by Chris Wanstrath)'
5
5
  s.email = 'david@loudthinking.com'
6
6
  s.summary = 'PJAX integration for Rails 3.1+'
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
5
+ version: 0.1.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Heinemeier Hansson (PJAX by Chris Wanstrath)