Agreed
On 15 Nov 2013 16:13, "Thomas Kriechbaumer" <notifications@github.com>
wrote:

> In lib/capistrano/tasks/assets.rake:
>
> > @@ -6,13 +6,15 @@ module Capistrano
> >  end
> >
> >  namespace :deploy do
> > -  before :starting, :set_shared_assets do
> > -    set :linked_dirs, (fetch(:linked_dirs) || []).push('public/assets')
> > +  before :starting, :set_assets_defaults do
> > +    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)}")
>
> I think it would be best to use the default-arg-syntax for the fetch
> method here too: fetch(:linked_dirs, [])
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/capistrano/rails/pull/30/files#r7692103>
> .
>