diff --git a/config/routes.rb b/config/routes.rb index 7c579ae43..816d0cabd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -37,6 +37,7 @@ map.resources :donations, :credit_pitches, :affiliations, :pledges, :pages, :groups map.connect "/profiles/:id/ban", :controller => "profiles", :action => "ban" map.connect "/profiles/:id/unban", :controller => "profiles", :action => "unban" + map.connect "/profiles/:id", :controller => "profiles", :action => "show" map.resources :profiles do |profile| profile.connect ":tab", :controller => "profiles", :action => "show", :requirements => { :tab => /"assignments|pledges|donations|pitches|posts|tips|comments/ } end