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

  • Home
  • SEARCH
  • 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 763701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:36:18+00:00 2026-05-14T16:36:18+00:00

I am building an administration space in my web application. To do this, I

  • 0

I am building an administration space in my web application. To do this, I am using namespaces but even if the rake generated routes are ok, when i follow the root of my admin space I get an error:

Routing Error
No route matches "/guru"

My routes.rb :

Baies::Application.routes.draw do |map|
  resources :fights
  resources :actions
  resources :users

  namespace :guru do
    root :to => "guru#index"
    resources :users
  end

  root :to => "public#index"
end

My arbo:

.
`-- app
   `-- controllers
      |-- actions_controller.rb
      |-- application_controller.rb
      |-- fights_controller.rb
      |-- guru
      |   |-- guru_controller.rb
      |   `-- users_controller.rb
      |-- public_controller.rb
      `-- users_controller.rb

For information, the routes /guru/users works 🙂

Thanks for help!

@tchaOo°

  • 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-05-14T16:36:18+00:00Added an answer on May 14, 2026 at 4:36 pm

    It’s OK. I was doing like with Rails 2. With Rails 3, we have to specify the namespace of the controller:

      namespace :guru do
        root :to => "Guru::Guru#index"
        resources :users
      end
    

    @tchaOo°

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

Sidebar

Related Questions

Im building a web application which is a process management app. Several different employee
I'm building a quite large Flex application as our administration tools and I need
I am building a web based application written in ASP.NET and Flex. One of
Building an application, before using a real database, just to get things work I
I'm looking at building a custom web application for a client (a specialized auction
I'm building a web application, and I would like to make certain functions on
I'm building an application that accepts credit card orders, but does not programatically authorize
Hi I'm building a web application for a client with some unique controls and
I'm building an application in which I am using Socket Programming in Java using
Building a client-side swing application what should be notified on a bus (application-wide message

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.