From 41c29b0951580d3bf973dc643798a111191ccdb3 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 2 Jan 2013 11:56:48 -0300 Subject: [PATCH] Fix account controller route --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 18fa2f9..e56c720 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -38,7 +38,7 @@ Noosfero::Application.routes.draw do # user account controller match 'account/new_password/:code' => 'account#new_password', :controller => 'account', :action => 'new_password' - match 'account/:action', :controller => 'account' + match 'account(/:action)', :controller => 'account' # enterprise registration match 'enterprise_registration/:action', :controller => 'enterprise_registration' -- libgit2 0.21.2