Skip to content
Browse files

Moved contents of rails/init.rb into init.rb to avoid Rails 3 depreca…

…tion warnings
  • Loading branch information...
1 parent aa0a61f commit 0f28a55056d8f8795e73c9cbfece82073bd08952 @craic craic committed Oct 27, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −1 init.rb
  2. +0 −1 rails/init.rb
View
3 init.rb
@@ -1 +1,2 @@
-require File.join(File.dirname(__FILE__), 'rails', 'init')
+#require File.join(File.dirname(__FILE__), 'rails', 'init')
+require File.join(File.dirname(__FILE__), 'lib', 'less', 'controller_extension') if Rails.env == 'development'
View
1 rails/init.rb
@@ -1 +0,0 @@
-require File.join(File.dirname(__FILE__), '..', 'lib', 'less', 'controller_extension') if RAILS_ENV == 'development'

0 comments on commit 0f28a55

Please sign in to comment.
Something went wrong with that request. Please try again.