Is there any way to find the type of request in controller ?
Yes.
What we do in routes.rb
is , define the type of request to particular action.
But, what If we want to find out the type of request in controller .
1 2 3 4 5 6 7 |
|
Is there any way to find the type of request in controller ?
What we do in routes.rb
is , define the type of request to particular action.
But, what If we want to find out the type of request in controller .
1 2 3 4 5 6 7 |
|