Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Rafael Felix's latest activity

Friday, April 08 2011
6677 Namespace and Custom routes was updated in Ruby on Rails
  • Rafael Felix
    Rafael Felix commented at 4:07 AM

    at the first time, before_filter send me to the login

    Started GET "/admin" for 127.0.0.1 at 2011-04-08 00:03:17 -0300
    SQL (60.1ms) SHOW client_min_messages SQL ...

Wednesday, April 06 2011
6677 Namespace and Custom routes was updated in Ruby on Rails
  • Rafael Felix
    Rafael Felix commented at 6:13 PM

    No, I don't have any

    I don't know if it helps, but the authentication is provided by devise, and the load_and_authorize_resource is from CanCan

  • Rafael Felix
    Rafael Felix commented at 12:22 PM

    Andrew, I think the name is ok

    take a look (it's inside app/controllers/admin

    file name dashboard_controller.rb

      class Admin::DashboardController < Admin::Adm...
  • Rafael Felix
    Rafael Felix created the ticket at 4:30 AM

    Given the following routes

      namespace :admin do
        root :to => "dashboard#index"
      end
    

    the rake routes return
    admin_root /admin(.:format) {:controller=>"adm...