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

This commit is contained in:
Robert Speicher 2015-04-20 18:28:19 -04:00
parent 76aade28e2
commit 6c3591279f
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
= 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/bootlint' if Rails.env == 'development'
= render 'layouts/bootlint' if Rails.env.development?
-# Atom feed
- if current_user

View File

@ -1,4 +1,4 @@
if Rails.env == 'development'
if Rails.env.development?
require 'rack-mini-profiler'
# initialization is skipped so trigger it