Make use of ENV.fetch
This commit is contained in:
parent
200d188af2
commit
36b23ce25d
27 changed files with 51 additions and 53 deletions
|
|
@ -9,7 +9,7 @@
|
|||
installation!
|
||||
%p
|
||||
The first user to
|
||||
- if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
||||
- if ENV.fetch('OSEM_ICHAIN_ENABLED', nil) == 'true'
|
||||
= link_to(new_ichain_registration_path('user')) do
|
||||
sign up
|
||||
- else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue