wout/url2png-gem — Issue #4: Url2png error: No shared secret defined!
Author: barmstrong
Created: 2011-12-01 06:38:42+00:00
State: open

I'm see the above error seemingly no matter where I include the

Url2png::Config.public_key = 'PXXXXXXXXXXXXX'
Url2png::Config.shared_secret = 'SXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

I've tried in an initializer, in application.rb, no luck - I'm using Rails 3.1.1

It works if I include those two lines in my view helper right before the call to site_image_tag

Thanks for the great site though and gem! It's an awesome service notwithstanding this small prob.