mercredi 5 octobre 2016

Rails - Redirect pages

I have a application that include basic user signin/signup functions. So I just followed a tutorial and developed it's front-end part and registration functions. It's all working fine. I can login and register to the application. But the problem is, when I click login or register button, it's content loaded under my home page. Just like this.

enter image description here

This is my application.erb

 <%= render 'layouts/header' %>
  <div class="container-fluid wrapper">
    <%= render 'layouts/messages' %>
    <%= render 'layouts/newsfeed' %>
    <%= yield %>
  </div>
  <%= render 'layouts/footer' %>

I just want to load only the signin or register page without home page. Any suggestions?

Aucun commentaire:

Enregistrer un commentaire