No route matches {:action=>"login", :controller=>"goldberg/auth"}

50 views
Skip to first unread message

Serenity

unread,
May 2, 2010, 4:04:43 PM5/2/10
to Ruby on Rails: Goldberg
Hello,

I am trying to add goldberg to an existing app that I've already
written. Here is how I installed it and set it up:

cd myapp
git clone git://github.com/lardawge/goldberg.git vendor/plugins/
goldberg
rake goldberg:install
rake goldberg:theme themename=snooker
script/server

This worked fine on a brand new rails app. But on my existing app,
when I try to access it, I get:

No route matches {:action=>"login", :controller=>"goldberg/auth"}

I'm new to Goldberg, so I don't really now what direction to go to
sort this out. I'd appreciate any advice.

Thanks,
Avram

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Goldberg" group.
To post to this group, send email to rubyonrail...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-gold...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-goldberg?hl=en.

Serenity

unread,
May 3, 2010, 8:53:14 AM5/3/10
to Ruby on Rails: Goldberg
Hello everyone,

In case anyone else is looking for a solution to this problem, I found
it. It is because, using entirely REST routing in my app, I had
commented out the standard rails route:

map.connect ':controller/:action/:id'

Goldberg doesn't use a special route to get to it's auth module
because it matches this pattern already.
Reply all
Reply to author
Forward
0 new messages