Sha256: 300556c1e0413fb3397ceeec1f403965797997bb4060f3de643808e86576de3b

Contents?: true

Size: 270 Bytes

Versions: 16

Compression:

Stored size: 270 Bytes

Contents

module Trestle
  module Controller
    module Dialog
      extend ActiveSupport::Concern

      included do
        helper_method :dialog_request?
      end

    protected
      def dialog_request?
        request.headers["X-Trestle-Dialog"]
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trestle-0.9.8 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.9.7 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.9.6 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.9.5 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.9.4 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.9.3 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.9.2 lib/trestle/controller/dialog.rb
trestle-0.9.1 lib/trestle/controller/dialog.rb
trestle-0.9.0 lib/trestle/controller/dialog.rb
trestle-0.8.13 lib/trestle/controller/dialog.rb
trestle-0.8.12 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.8.11 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.8.10 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.8.9 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.8.8 app/controllers/concerns/trestle/controller/dialog.rb
trestle-0.8.7 app/controllers/concerns/trestle/controller/dialog.rb