Yes. Create a new directory "admin" under app/views and move "posts"
directory into that one.


On Tue, Jun 21, 2011 at 4:44 PM, amritpal pathak
<[email protected]>wrote:

>
>
> On Tue, Jun 21, 2011 at 7:06 AM, Chirag Singhal 
> <[email protected]>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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
>



-- 
Chirag
http://sumeruonrails.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to