```ruby
Rails.application.routes.draw do
    get 'resume' => 'resume#resume', :as => :resume
    get 'cv' => 'resume#cv', :as => :cv
    get 'portfolio' => 'folios#portfolio', :as => :portfolio
    root :to => "home#home"

    # redirecting match
    get 'fb' => redirect(Links::Facebook)
    get 'tw' => redirect(Links::Twitter)
    get 'li' => redirect(Links::Linkedin)
    get 'gh' => redirect(Links::Github)
    get 'fo' => redirect(Links::Foursquare)

    # Nothing left, route to error page
    get '*wild' => 'application#render_404', :as => :error_404
end
```

Add back some old redirects
user
```ruby
Rails.application.routes.draw do
    get 'resume' => 'resume#resume', :as => :resume
    get 'cv' => 'resume#cv', :as => :cv
    get 'portfolio' => 'folios#portfolio', :as => :portfolio
    root :to => "home#home"

    # redirecting match
    get 'fb' => redirect(Links::Facebook)
    get 'tw' => redirect(Links::Twitter)
    get 'li' => redirect(Links::Linkedin)
    get 'gh' => redirect(Links::Github)
    get 'fo' => redirect(Links::Foursquare)

    get 'zshrc' => redirect('https://raw.githubusercontent.com/pfhayes/dotfiles/master/.zshrc')
    get 'vimrc' => redirect('https://raw.githubusercontent.com/pfhayes/dotfiles/master/.vimrc')

    # Nothing left, route to error page
    get '*wild' => 'application#render_404', :as => :error_404
end
```
assistant