Maybe the problem is too my S3 was running Refinery inside my app.
But I was just hoping to make the docs more clear for a newbie such as
myself.


Al Nutile
http://alfrednutile.info/about
413.345.5103



On Mon, Sep 23, 2013 at 10:49 PM, Philip Arndt <notifications@github.com>wrote:

> In doc/guides/7 - Hosting and Deployment/2 - Amazon S3 for Uploads.textile:
>
> > +</ruby>
> > +
> > +Lower in the application file.
> > +<ruby>
> > +    include Refinery::Engine
> > +    after_inclusion do
> > +      ##[::ApplicationController, ::ApplicationHelper, ::Refinery::AdminController].each do |c|
> > +      [Refinery::ApplicationController, Refinery::AdminController, ::ApplicationHelper].each do |c|
> > +          c.send :include, ::RefineryPatch
> > +
> > +        Refinery::Core.configure do |config|
> > +          config.s3_backend = true
> > +          config.s3_access_key_id = ENV['S3_KEY']
> > +          config.s3_secret_access_key = ENV['S3_SECRET']
> > +          config.s3_bucket_name = ENV['S3_BUCKET']
> > +        end
>
> Shouldn't this go in config/initializers/refinery/core.rb
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/refinery/refinerycms/pull/2413/files#r6534035>
> .
>