The error listed is basically the problem, it can''t find a template for
the
new action inside admin/users or application/new. Do you have an 
admin/users folder?
On Thursday, April 4, 2013 5:19:32 AM UTC-4, Ruby-Forum.com User
wrote:>
> I''m trying to work with controller Namespace of Route. 
> i''m doing with instructions in : 
> http://guides.rubyonrails.org/routing.html 
> and here is code of my Route: 
>
> namespace :admin do 
>   resources :users 
>  end 
>
> I created admin folder admin and move controller users_controller to it. 
> And I edit code in users_controller same as : 
>
> class Admin::UsersController < ApplicationController 
> But when I ran project and using Url: 
>
> http://localhost:3000/admin/users/new 
> and have error: 
>
> Missing template admin/users/new, application/new with {:locale=>[:en], 
> :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. 
> Who can help me this problem ? Thanks....... 
>
> -- 
> Posted via http://www.ruby-forum.com/. 
>
-- 
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/H4Q1Y9Ql49sJ.
For more options, visit https://groups.google.com/groups/opt_out.