librelist archives

« back to archive

Bettermeans installation from github source - routes.rb problem

Bettermeans installation from github source - routes.rb problem

From:
Miguel Lezama
Date:
2012-07-01 @ 00:46
Hi all,

First of all I want to thank for this incredible implementation.

I deployed for the first time bettermeans and I get 404 trying to add a new
user.
I solved the problem redefining the order of the routes as shown below.

20,21c20
<
<
---
>
196,198c195,197
<   # map.resources :users do |users|
<   #   users.resources :mails, :collection => { :delete_selected => :post }
<   # end
---
>     map.resources :users do |users|
>       users.resources :mails, :collection => { :delete_selected => :post }
>     end
217,220d215
<   map.resources :users do |users|
<     users.resources :mails, :collection => { :delete_selected => :post }
<   end
<


Is this happening to anybody else? or is it that the trunk is broken?

Thanks,

Miguel


------
Excuse my english. It is not my native language.