El Dorado

A full-stack community web application written in Ruby/Rails
Adding A custom controller affects the existing routes « El Dorado « almost effortless
 
Sun, 21 Sep 2008, 12:49am #1
sanjay_bahl
New member
Registered: Sep, 2008
Last visit: Sun, 21 Sep 2008
Posts: 1

Hi There.Thanks for this useful application.

I want some static pages on my website and have added a pages scaffold for the same , now my pages are integrated and seem to work fine ,but the register(users/new) URL seems to have been affected.when i click the register link it takes me to the home page..and not to users/new

for accesing the pages i ahev added only the following line in the routes.rb
>> map.resources :pages

whats going wrong ? please guide.

Offline
Sun, 21 Sep 2008, 6:05pm #2
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 3 hours ago
Posts: 240

I'm not sure, but you should look at your logs and see what's causing the redirect. It should be pretty clear, and then you can figure it out from there.

Offline