E
E
eldar_web2016-11-18 19:33:23
Ruby on Rails
eldar_web, 2016-11-18 19:33:23

How to go to the previous page in Ruby on Rails?

I mean, there will always be a link in the view <a href='???'>Назад</a>
. I wonder if Ruby on Rails has a link to the previous page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
N. Bekseitov, 2016-11-18
@eldar_web

<%= link_to 'Назад', :back %>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question