Fix the "undefined method `hexdigest' for nil:NilClass" error

This issue happened on heroku and my local repository. It happened because my assets were on lib/assets and not public/assets