mercredi 16 septembre 2015

Generic Routing match ':controller(/:action(/:id))(.:format)' , via: [:post, :get] not available in Rails 4. Way Out?

I am new to RoR.

But as far as I read, I understood that Rails 4 doesn't support match keyword.

But I want to make a default generic route something like following

match ':controller(/:action(/:id))(.:format)', :via => :get

Can someone help me how to implement this in Rails 4

Aucun commentaire:

Enregistrer un commentaire