Sha256: f62d3e9d308df4bd3d28cf9b3b3763a040c5728a1ecc5331c3c0801e4d291f02
Contents?: true
Size: 473 Bytes
Versions: 83
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true 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 before_action :set_paper_trail_whodunnit end end
Version data entries
83 entries across 83 versions & 1 rubygems