Commit f9119150 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'rs-rails-env-predicates' into 'master'

Fix two places where we should be using `Rails.env.development?`

See merge request !550
parents 285ae60c 6c359127
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
= render 'layouts/google_analytics' if extra_config.has_key?('google_analytics_id') = render 'layouts/google_analytics' if extra_config.has_key?('google_analytics_id')
= render 'layouts/piwik' if extra_config.has_key?('piwik_url') && extra_config.has_key?('piwik_site_id') = render 'layouts/piwik' if extra_config.has_key?('piwik_url') && extra_config.has_key?('piwik_site_id')
= render 'layouts/bootlint' if Rails.env == 'development' = render 'layouts/bootlint' if Rails.env.development?
-# Atom feed -# Atom feed
- if current_user - if current_user
......
if Rails.env == 'development' if Rails.env.development?
require 'rack-mini-profiler' require 'rack-mini-profiler'
# initialization is skipped so trigger it # initialization is skipped so trigger it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment