Module: SplashScreenHelper
- Defined in:
- app/helpers/splash_screen_helper.rb
Class Method Summary collapse
Class Method Details
.fingerprint ⇒ Object
10 11 12 13 14 15 16 |
# File 'app/helpers/splash_screen_helper.rb', line 10 def self.fingerprint if Rails.env.development? calculate_fingerprint else @fingerprint ||= calculate_fingerprint end end |
.inline_splash_screen_script ⇒ Object
4 5 6 7 8 |
# File 'app/helpers/splash_screen_helper.rb', line 4 def self.inline_splash_screen_script <<~HTML.html_safe <script>#{raw_js}</script> HTML end |