Re: uninitialized constant ApplicationController

amritpal pathak
2011-06-21T11:14:27Z

On Tue, Jun 21, 2011 at 7:06 AM, Chirag Singhal
<chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:

> That''s the problem. Don''t move application_controller.rb
file
> It should always be under app/controllers folder not in the namespaced
> folder.
> Move it back and your error should go away
>   thanks sir .Thats error is solved but another one came w hen i browse to
> "localhost:3000/admin/posts".
>


Template is missing

Missing template admin/posts/index with {:handlers=>[:rhtml, :rxml, :erb,
:builder, :rjs], :formats=>[:html], :locale=>[:en, :en]} in view paths
"/home/amrit/check/app/views"

The index.html.erb file exist already in /app/view/posts/index.html.erb.

should i make a new directory in /app/views and  move the "posts"
directory
inside it same as namespacing in controller??

Thank you very much for support.

amritpalpatakgne.wordpress.com