diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-20 11:58:48 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-20 12:23:55 +1100 |
commit | 7f93d7f1d486f55f6ebe9da37150d16b1a4fa634 (patch) | |
tree | 7a81d926f9f0d222573ca37de17d2297a4218ed8 /app/controllers/request_controller.rb | |
parent | d2888c4bfce13dc60f7c54de2f68228f6c664107 (diff) |
Remove deprecated constants - #589
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 162060d9b..3bd032c3d 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -17,7 +17,7 @@ class RequestController < ApplicationController @@custom_states_loaded = false begin - if ENV["RAILS_ENV"] != "test" + if !Rails.env.test? require 'customstates' include RequestControllerCustomStates @@custom_states_loaded = true |