Sha256: a42d726a6b984428bf1a5204194f1e8ef411e00da8f53b1b4522f2affce3024b
Contents?: true
Size: 338 Bytes
Versions: 11
Compression:
Stored size: 338 Bytes
Contents
# frozen_string_literal: true 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
11 entries across 11 versions & 1 rubygems