Sha256: 9c91f4beb319c0a0940f2ea41a5aa5d2b03c88143d9f3d40e41691ff05b842f0
Contents?: true
Size: 396 Bytes
Versions: 26
Compression:
Stored size: 396 Bytes
Contents
require 'spotlight' module Spotlight ## # Inherit from the host app's ApplicationController # This will configure e.g. the layout used by the host class ApplicationController < ::ApplicationController include Spotlight::Concerns::ApplicationController before_action do flash.now[:notice] = flash[:notice].html_safe if flash[:html_safe] && flash[:notice] end end end
Version data entries
26 entries across 26 versions & 1 rubygems