In your views:
controller.action_name
controller.controller_name
controller.controller_name
In the controller itself, you can just call
controller_name
action_name
action_name
If you want the current URI, try:
request.request_uri
Achieving Developer Excellence with Automated Testing
In your views:
In the controller itself, you can just call
If you want the current URI, try:
Your article helped me a lot, is there any more related content? Thanks!
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?