disclaimer:
I have not installed rails 3 yet.

My reaction is they are looking for controller Admin::HomeController in file 
app/controllers/admin/home_controller

--K

On Jun 21, 2010, at 11:03 AM, Neil wrote:

> I have an app that has the following in the routes file:
> 
>  namespace "admin" do
>    # ADMINISTRATIVE ROUTES ONLY
>    root :to => 'home#index'
> 
>    resources :comments do
>      member do
>        get :approve
>        get :reject
>      end
>    end
>    resources :users do
>      member do
>        get :block
>        get :unblock
>      end
>    end
>  end
> 
> When browing to /admin locally, I am greeted by the appropriate page.
> On the same URL on the heroku version I get a 404.  The route shows
> correctly in 'heroku rake routes'
> 
> Logs are showing:
> ActionController::RoutingError (wrong constant name Admin/
> homeController):
> /disk1/home/slugs/196384_c95a9e3_4463/mnt/.bundle/gems/gems/
> activesupport-3.0.0.beta4/lib/active_support/inflector/methods.rb:
> 103:in `const_defined?'
> 
> Any ideas?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to