Re: [Rails] Re: Re: Unable to access Paperclip Avatar globally

2015-06-27 Thread Colin Law
On 27 June 2015 at 15:25, David Williams wrote: > Colin Law wrote in post #1175739: >> On 26 June 2015 at 16:40, David Williams wrote: "current_user.avatar.url(:thumb)" > >> Also what is the code >> unless: avatar.nil? >> supposed to be doing? I see no code setting up a variable avatar. >>

[Rails] Re: Re: Unable to access Paperclip Avatar globally

2015-06-27 Thread David Williams
Colin Law wrote in post #1175739: > On 26 June 2015 at 16:40, David Williams wrote: >>> "current_user.avatar.url(:thumb)" > Also what is the code > unless: avatar.nil? > supposed to be doing? I see no code setting up a variable avatar. > > Colin I fixed it! - Thanks, anyway. -- Posted via htt