Sha256: 58caf2872dfe68a16262c1453a1eb470780f5945df2825f3377380cc0f48da2e

Contents?: true

Size: 312 Bytes

Versions: 17

Compression:

Stored size: 312 Bytes

Contents

class ApplicationController < ActionController::Base
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception

  def peek_enabled?
    if defined?(@peek_enabled)
      !!@peek_enabled
    else
      true
    end
  end
end

Version data entries

17 entries across 13 versions & 3 rubygems

Version Path
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/peek-1.1.0/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/peek-1.1.0/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/peek-1.1.0/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/peek-1.1.0/test/dummy/app/controllers/application_controller.rb
peek-1.1.0 test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
gitlab-peek-0.0.1 test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/peek-1.0.1/test/dummy/app/controllers/application_controller.rb
peek-1.0.1 test/dummy/app/controllers/application_controller.rb