Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merge

  • Loading branch information...
commit 3b8d0640e366f09cfce4148e70e4c980f4332782 2 parents 9ef2c9b + 5ca3a94
@grosser grosser authored
View
2  lib/more.rb → lib/less/more.rb
@@ -109,7 +109,7 @@ def exists?(path_as_array)
end
def cache_path
- File.join(RAILS_ROOT, 'tmp', 'less-cache')
+ File.join(Rails.root, 'tmp', 'less-cache')
end
# Generates the .css from a .less or .lss file in Less::More.source_path matching
View
1  rails/init.rb
@@ -1,2 +1 @@
-require File.join(File.dirname(__FILE__), '..', 'lib', 'more')
require File.join(File.dirname(__FILE__), '..', 'lib', 'controller_extension') if RAILS_ENV == 'development'
View
3  tasks/more_tasks.rake
@@ -1,6 +1,3 @@
-require 'less'
-require File.join(File.dirname(__FILE__), '..', 'lib', 'more')
-
namespace :more do
desc "Generate CSS files from LESS files"
task :parse => :environment do
View
4 test/test_helper.rb
@@ -33,6 +33,4 @@ class ApplicationController < ActionController::Base
raise e
end
-RAILS_ROOT = Rails.root
-
-require 'more'
+require 'less/more'
Please sign in to comment.
Something went wrong with that request. Please try again.