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-0.71.1.12 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.11 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.10 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.1 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.1.0 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.0.7 lib/fiona7/in_editable_view.rb
infopark_fiona7-0.71.0.6 lib/fiona7/in_editable_view.rb