1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00

.rails_asset_pipeline -> .asset_pipeline for readability

This commit is contained in:
Thomas McDonald 2012-04-08 20:00:11 +01:00
parent 644623ae6e
commit c637c73aab

View file

@ -3,7 +3,7 @@ module Bootstrap
# Inspired by Kaminari
def self.load!
if rails_asset_pipeline?
if asset_pipeline?
require 'sass-rails' # See: https://github.com/thomas-mcdonald/bootstrap-sass/pull/4
require 'bootstrap-sass/engine'
require 'bootstrap-sass/config/sass_extentions'
@ -21,7 +21,7 @@ module Bootstrap
end
private
def self.rails_asset_pipeline?
def self.asset_pipeline?
defined?(::Rails) && ::Rails.version >= '3.1.0'
end