Sha256: e55611d56c24c0f034f40d817990e628c3fe43e050c34095ec3c400df7b03334
Contents?: true
Size: 307 Bytes
Versions: 7
Compression:
Stored size: 307 Bytes
Contents
module DemoMode class ApplicationController < DemoMode.splash_base_controller_name.constantize protect_from_forgery with: :null_session before_action unless: -> { DemoMode.enabled? } do raise ActionController::RoutingError, 'Not Found' end layout 'demo_mode/application' end end
Version data entries
7 entries across 7 versions & 1 rubygems