Got it, makes sense.

*Nikhil Goel* | Vanderbilt University, 2013 | Computer Engineering,
Economics**

LinkedIn <http://www.linkedin.com/in/ngoel1> |* ngoel36@gmail.com | ( (256)
503-9183 | NikhilGoel.me <http://nikhilgoel.me/>


On Fri, Jan 25, 2013 at 8:43 PM, Luke Steensen <notifications@github.com>wrote:

> In config/routes.rb:
>
> >    match 'follow_tag/:id', to: 'users#follow_tag', as: 'follow_tag'
> >
> > -  match 'upload/new', to: 'pages#new_upload'
> > +  # dashboard partials
>
> What do you mean non empty controllers?
>
> # routes.rbget 'foobar' => 'foo#bar'
> # foo_controller.rbclass FooController < ApplicationController
>   def bar; end # this line is unnecessaryend
>
> That's all I meant.
>
> get is better than match because it's more specific ( match only GET
> request, not POST, PUT, PATCH, DELETE or anything else). The idea is that
> we should be creating exactly the routes we need and nothing more. Run rake
> routes sometime to see everything our app will try to route. This PR
> cleans that up *a lot*.
>
> Unused routes are bad.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/bitcast/bitcast/pull/128/files#r2784011>.
>
>