lib/octopress-ink/plugins.rb in octopress-ink-1.0.0.rc.21 vs lib/octopress-ink/plugins.rb in octopress-ink-1.0.0.rc.22
- old
+ new
@@ -115,36 +115,36 @@
end
# Copy/Generate Stylesheets
#
def self.add_stylesheets
- if Ink.configuration['combine_css']
+ if Ink.configuration['asset_pipeline']['combine_css']
PluginAssetPipeline.write_combined_stylesheet
else
add_assets(%w{css sass})
end
end
# Copy/Generate Javascripts
#
def self.add_javascripts
- if Ink.configuration['combine_js']
+ if Ink.configuration['asset_pipeline']['combine_js']
PluginAssetPipeline.write_combined_javascript
else
add_assets(%w{js coffee})
end
end
def self.css_tags
- if Ink.configuration['combine_css']
+ if Ink.configuration['asset_pipeline']['combine_css']
PluginAssetPipeline.combined_stylesheet_tag
else
@css_tags.join('')
end
end
def self.js_tags
- if Ink.configuration['combine_js']
+ if Ink.configuration['asset_pipeline']['combine_js']
PluginAssetPipeline.combined_javascript_tag
else
@js_tags.join('')
end
end