Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing the asset pipeline detection code under rails 3.0

  • Loading branch information...
commit de25e67f3dd1ebcb235b46bdfcf86e3b09c4d33f 1 parent 953d17d
Matthew Kocher & Roger Neel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jasmine/dependencies.rb
View
2  lib/jasmine/dependencies.rb
@@ -15,7 +15,7 @@ def rails3?
end
def rails_3_asset_pipeline?
- rails3? && Rails.respond_to?(:application) && Rails.application.assets
+ rails3? && Rails.respond_to?(:application) && Rails.application.respond_to?(:assets) && Rails.application.assets
end
private
Please sign in to comment.
Something went wrong with that request. Please try again.