Skip to content
Browse files

making sure the profile page can be accessed again

  • Loading branch information...
1 parent 9fd21bb commit 9975920c337108dda02d347e518364eee0679897 erik committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 config/routes.rb
View
1 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

0 comments on commit 9975920

Please sign in to comment.
Something went wrong with that request. Please try again.