Skip to content

Commit

Permalink
nil layout should fallback to application
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Apr 2, 2012
1 parent 45c9d78 commit 4e6505e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pjax.rb
Expand Up @@ -2,7 +2,7 @@ module Pjax
extend ActiveSupport::Concern

included do
layout proc { |c| pjax_request? ? pjax_layout : 'application' }
layout proc { |c| pjax_request? ? pjax_layout : nil }
helper_method :pjax_request?

before_filter :strip_pjax_param, :if => :pjax_request?
Expand Down

0 comments on commit 4e6505e

Please sign in to comment.