[refactor]Move constants to configuration file
This commit is contained in:
parent
346f324bef
commit
b7fbba162b
4 changed files with 18 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
DEFAULT_LOGO = 'snapcon_logo.png'
|
||||
DEFAULT_COLOR = '#0B3559'
|
||||
DEFAULT_LOGO = Rails.configuration.conference[:default_logo]
|
||||
DEFAULT_COLOR = Rails.configuration.conference[:default_color]
|
||||
|
||||
module ConferenceHelper
|
||||
# Return true if only call_for_papers or call_for_tracks or call_for_booths is open
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue