Sha256: 04da505b5ca3d41153c01737effd35368fb7bebccc4b3a3f7fb5ee625b041d84

Contents?: true

Size: 166 Bytes

Versions: 7

Compression:

Stored size: 166 Bytes

Contents

module Storefront
  module DebugHelper
    def inspecting?
      params[:inspect] == "true"
    end

    def editing?
      params[:edit] == "true"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
storefront-0.3.2 lib/storefront/helpers/debug_helper.rb
storefront-0.3.1 lib/storefront/helpers/debug_helper.rb
storefront-0.3.0 lib/storefront/helpers/debug_helper.rb
storefront-0.2.8 lib/storefront/helpers/debug_helper.rb
storefront-0.2.7 lib/storefront/helpers/debug_helper.rb
storefront-0.2.1 lib/storefront/helpers/debug_helper.rb
storefront-0.2.0 lib/storefront/helpers/debug_helper.rb