One of them is standardized in default route advertisements, and IMO is easier to find. The other is not, which can lead to typos, etc. Not very important, but for RESTful actions, I prefer to use a resourceful mechanism.
You can also use the single-line version, which I prefer for individual routes:
resources :cars do get :similar, :on => :member end
Meagar is correct, I forgot that the matching form will not create helper methods.
source share