map.resource :sessions

Added by Anonymous 208 days ago

IMHO, there's no need to have map.resources :sessions since we don't need the index action.


Replies

RE: map.resource :sessions - Added by Andrew Stone 208 days ago

You are correct, force of habit on that one. I will add a ticket to correct that issue.

thanks,
andy

RE: map.resource :sessions - Added by Anonymous 208 days ago

NM. For some reason this causes the logout link to disappear.

RE: map.resource :sessions - Added by Andrew Stone 208 days ago

I've created an issue to remind me to be more specific with the routes file. The original statement is still correct as map.resources :sessions isn't accurate for the implementation.

RE: map.resource :sessions - Added by Anonymous 208 days ago

If you do fix it, please also explore why the logout_path disappears.

Thanks again.