Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9054745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:45:56+00:00 2026-06-16T13:45:56+00:00

As the title says, I’m getting an the following error when clicking the sign

  • 0

As the title says, I’m getting an the following error when clicking the “sign in” link when running my localhost app: No route matches [GET] “/signin_path”

Here’s some relevant files/info:

When running rake routes:

        users GET    /users(.:format)          users#index
        POST   /users(.:format)          users#create
new_user GET    /users/new(.:format)      users#new
edit_user GET    /users/:id/edit(.:format) users#edit
   user GET    /users/:id(.:format)      users#show
        PUT    /users/:id(.:format)      users#update
        DELETE /users/:id(.:format)      users#destroy
sessions POST   /sessions(.:format)       sessions#create
new_session GET    /sessions/new(.:format)   sessions#new
session DELETE /sessions/:id(.:format)   sessions#destroy
 signin        /signin(.:format)         sessions#new
signout DELETE /signout(.:format)        sessions#destroy
   root        /                         static_pages#home
 signup        /signup(.:format)         users#new
   help        /help(.:format)           static_pages#help
  about        /about(.:format)          static_pages#about
contact        /contact(.:format)        static_pages#contact

The config/routes file:

SampleApp::Application.routes.draw do
resources :users
resources :sessions, only: [:new, :create, :destroy]

match '/signin', to: 'sessions#new'
match '/signout', to: 'sessions#destroy', via: :delete


root to: 'static_pages#home'

match '/signup', to: 'users#new'
match '/help', to: 'static_pages#help'
match '/about', to: 'static_pages#about'
match '/contact', to: 'static_pages#contact'

The header partial:

<header class="navbar navbar-fixed-top navar-inverse">
  <div class="navbar-inner">  
    <div class="container">
      <%= link_to "Sample App", root_path, id: "logo" %>
      <nav>
        <ul class="nav pull-right">
          <li><%= link_to "Home",     root_path %></li>
          <li><%= link_to "Help",     help_path %></li>
          <% if signed_in? %>
            <li><%= link_to "Users", '#' %></li>
            <li id="fat-menu" class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                Account <b class="caret"></b>
              </a>
              <ul class="dropdown-menu">
                <li><%= link_to "Profile", current_user %></li>
                <li><%= link_to "Settings", '#' %></li>
                <li class="divider"></li>
                <li>
                   <%= link_to "Sign out", signout_path, method: "delete" %>
                </li>
              </ul>
            </li>
          <% else %>
            <li><%= link_to "Sign In",  'signin_path' %></li>
          <% end %>
        </ul>
      </nav>
    </div>
  </div>
</header>

Finally the sessesion_controller file:

class SessionsController < ApplicationController

def new
end

def create
  user = User.find_by_email(params[:session][:email].downcase)
  if user && user.authenticate(params[:session][:password])
    sign_in user
    redirect_to user
  else
    flash.now[:error] = 'Invalid email/password combination' 
    render 'new'
  end
end

  def destroy
  end
end
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T13:45:58+00:00Added an answer on June 16, 2026 at 1:45 pm

    Try updating your routes.rb to look like https://gist.github.com/dd6821926dc94e6587f8

    Then change
    <li><%= link_to "Sign In", 'signin_path' %></li>

    to

    <li><%= link_to "Sign In", signin_path %></li>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As title says for some purpose I need to get the size of request/response
Title says it pretty much all : is there a way to get the
As title says I'd like to know how to restart my iPhone app after
Title says it all... I am calling registerForRemoteNotificationTypes on every app launch. It worked
Well the title says it, I'm doing following kind of operations in Fortran: a(:,t)
As the title says, what's the most efficient way to get a random selection
The title says it. This link( Wikipedia Midpoint Circle Algorithm ) shows how to
As title says, i need to get this information regarding the screen state. I
As title says, my listview won't get filled. I know that the adapter is
Title says all. Sample code: ArrayList<HashMap<String, Object>> data = new ArrayList<HashMap<String, Object>>(); HashMap<String, Object>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.