Permalink
Browse files

Fixed Deprecation Warning 'config.log_path= is deprecated, please

do paths.log= instead' for the Admin Panel test environment.
  • Loading branch information...
1 parent 14e922a commit 1e2bfa514fbc9b6787455147da0e5b3a9ee89fff @hokam hokam committed with Nikunj Limbaseeya Sep 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/admin_panel/config/environments/test.rb
@@ -10,7 +10,7 @@
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
- config.log_path = File.join("","var","log","webroar","admin_panel_rails.test.log")
+ config.paths.log = File.join("","var","log","webroar","admin_panel_rails.test.log")
# Show full error reports and disable caching
config.consider_all_requests_local = true

0 comments on commit 1e2bfa5

Please sign in to comment.