A
A
Art Snail2016-12-24 19:19:26
Ruby on Rails
Art Snail, 2016-12-24 19:19:26

[Rails] How to get routes path value in view?

Hello.
Please tell me how to get the value (name) of the route or the array (string) of the request from the browser line in the view.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Demidenko, 2016-12-24
@artsnail

request.url

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question