uninitialized constant ApplicationController

amritpal pathak
2011-06-20T16:41:23Z

i am following the routing guides (2.6) on rails 3.According to it, i
combined the 2 controller under namespace "admin"  but
couldn''t success to
make it work.Before doing so everything was working at
"localhost:3000/posts".
I just made a new directory "admin" in  /app/controller/admin and then
added
2 controller name "posts_controller.rb" and
"gne_controller.rb" inside it.
 but when i browsed to "localhost:3000/admin/posts" ,it gave error

uninitialized constant ApplicationController

please help to solve it and understand..:)

thanks

amritpalpathakgne.wordpress.com