Sha256: ee7ee7daf81b0b3d9ff75285867dc21843e282d16be9ab097df7a737e9a46a55

Contents?: true

Size: 307 Bytes

Versions: 47

Compression:

Stored size: 307 Bytes

Contents

module Fiona7
  module InEditableView
    def editing_context
      Scrivito::EditingContextMiddleware.from_request(request)
    end

    def scrivito_in_editable_view?
      editing_context.editable_display_mode?
    end

    def fiona7_in_editable_view?
      scrivito_in_editable_view?
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
infopark_fiona7-1.6.1.1.5 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.6.1.1.1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.6.1.1.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.2.0.2.3 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.2.0.2.1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.2.0.2.2 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.5.5.1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.5.5.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.2.0.1.4 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.5.4.1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.5.4.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.2.0.1.3 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.5.3.1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.4.3.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.3.2.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.3.2.0.pre.beta1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.2.1.0.pre.beta1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.5.2.0.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.2.0.1.1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.2.0.0.1 lib/fiona7/in_editable_view.rb