Sha256: b31fe04aa4da50887033461b1543e5ce8ee5534bb9a0d562a2a814d2ec673a6e
Contents?: true
Size: 309 Bytes
Versions: 5
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module FlashHelper # todo remove me and create a custom administrator authentification def current_user OpenStruct.new(email: "michel@tymate.com") end def classes_for_flash(key) if %w[error alert].include?(key) 'red' else 'green' end end end
Version data entries
5 entries across 5 versions & 2 rubygems