Skip to content

Commit

Permalink
Merge pull request #73 from Confusion/patch-1
Browse files Browse the repository at this point in the history
Allow early overriding of assets_* parameters
  • Loading branch information
kirs committed May 26, 2014
2 parents e336087 + be8bc78 commit f32f973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/capistrano/tasks/assets.rake
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ end

namespace :load do
task :defaults do
set :assets_roles, [:web]
set :assets_prefix, 'assets'
set :assets_roles, fetch(:assets_roles, [:web])
set :assets_prefix, fetch(:assets_prefix, 'assets')
set :linked_dirs, fetch(:linked_dirs, []).push("public/#{fetch(:assets_prefix)}")
end
end

0 comments on commit f32f973

Please sign in to comment.