Sorry my mistake, it's all working - not a rails guy - didn't know you have to restart the rails app after a change to application.yml.
Perry On Sat, Apr 2, 2011 at 12:15 AM, Perry Casson <[email protected]> wrote: > > Built a "Rails Port" dev server today using a fresh git and all went well. > Potlatch 1 works fine but when I try to edit with potlatch 2. I'm getting an > error about POTLATCH2 key not being initalized. > > I think I've done OAuth stuff correctly and entered the keys in > plotlatch2.html > > Google-ing "POTLATCH2_KEY" only tuned up a thread on this list and where it > was discussed to add the key to application.yml and I tried that too but not > joy. > > # Default editor > default_editor: "potlatch2" > # OAuth consumer key for Potlatch 2 > potlatch2_key: "###key_from_OAuth###" > > > Here's the error: > > <% token = @user.access_token(POTLATCH2_KEY) %> > ActionView::TemplateError (uninitialized constant > ActionView::Base::CompiledTemplates::POTLATCH2_KEY) on line #7 of > app/views/site/_potlatch2.html.erb: > > Is there something I've missed? > > > Thanks, > > Perry Casson >
_______________________________________________ Potlatch-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/potlatch-dev
