Skip to content

Commit

Permalink
Added sass/rails requirement before class declaration to avoid serv…
Browse files Browse the repository at this point in the history
…er error in some Ruby instances.
  • Loading branch information
noAlvaro committed May 3, 2013
1 parent 1b5f7c7 commit d154d7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/sass_rails_patch.rb
@@ -1,3 +1,5 @@
require 'sass/rails'

class Sass::Rails::Importer
def sass_file? filename
filename = filename.to_s
Expand Down

0 comments on commit d154d7c

Please sign in to comment.