Permalink
Browse files

Remove hardcoded asset path, add to config example

  • Loading branch information...
1 parent e39b29c commit ff71ed578cbe176759454450503386df4ef348f1 @pengwynn committed Dec 14, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 config/fumblr.yml.example
  2. +1 −1 fumblr.rb
@@ -2,3 +2,4 @@ data_path: data
tumblr_username: demo
themes_path: 'themes'
theme: "101"
+theme_asset_host: assets.example.com
View
@@ -12,7 +12,7 @@
config_file theme_config_path if File.exists?(theme_config_path)
if settings.theme_asset_host?
- use Rack::LocalAssets, :asset_host => 'static.thechangelog.com'
+ use Rack::LocalAssets, :asset_host => settings.theme_asset_host
end
set :public_folder, File.join( File.dirname(__FILE__), settings.themes_path, settings.theme, "public" )

0 comments on commit ff71ed5

Please sign in to comment.