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.2.0.0.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.9 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.8 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.7 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.6 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.5 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.4 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.3 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.2 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.10 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.1 lib/fiona7/in_editable_view.rb
infopark_fiona7-1.1.0.0.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.9 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.8 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.7 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.6 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.5 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.4 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.3 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.2 lib/fiona7/in_editable_view.rb