Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…tion warnings
  • Loading branch information...
commit 0f28a55056d8f8795e73c9cbfece82073bd08952 1 parent aa0a61f
@craic craic authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.