Sha256: 3742f5833b6e89496a887baa25a25b6e71da25244f7a72b0ac173d9a3353b9c9

Contents?: true

Size: 213 Bytes

Versions: 4

Compression:

Stored size: 213 Bytes

Contents

module Zertico
  class Responder
    module Pjax
      def default_render
        if request.headers['X-PJAX']
          render :layout => false
        else
          super
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zertico-2.0.0.beta.1 lib/zertico/responder/pjax.rb
zertico-2.0.0.alpha.3 lib/zertico/responder/pjax.rb
zertico-2.0.0.alpha.2 lib/zertico/responder/pjax.rb
zertico-2.0.0.alpha.1 lib/zertico/responder/pjax.rb