I'm starting to learn rails, and I'm seeing the terminology wildcard routes, but I've seen routes listed both of the following ways:
/a/path/*all', :all => /.*/
and
/a/path/:all
What is the difference between these two route forms?
I'm starting to learn rails, and I'm seeing the terminology wildcard routes, but I've seen routes listed both of the following ways:
/a/path/*all', :all => /.*/
and
/a/path/:all
What is the difference between these two route forms?