There is an authorization start page using Devise, I need to set up a redirect to an HTML page. The application is deployed on a local server. How exactly do this? I would be grateful for any help and information, as new to Ruby on Rails. It's loginPage

<% if user_signed_in? %>
  <span> Здравствуйте, <%= %> </span>
  <%= link_to 'Выйти', destroy_user_session_path, :method => :delete %> 
<% else %>
  <%= link_to 'Войти', new_user_session_path %> или <%= link_to 'Зарегистрироваться', new_user_registration_path %>
<% end %>

0 Answers