Skip to content

Commit

Permalink
making sure the profile page can be accessed again
Browse files Browse the repository at this point in the history
  • Loading branch information
erik committed Jul 11, 2012
1 parent 9fd21bb commit 9975920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/routes.rb
Expand Up @@ -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
Expand Down

0 comments on commit 9975920

Please sign in to comment.