I have tried both methods of decending from base controller or
manually doing it and in both instances I am just left with another
error that some of the basic methods from the application controller I
believe are undefined...

 NoMethodError in Places#index

Showing vendor/plugins/community_engine/app/views/shared/
_header.html.haml where line #5 raised:

undefined method `logged_in?' for #<ActionView::Base:0xb61913f4>

Extracted source (around line #5):

Seems to me like this is going to be some stupid little error, but I
am not sure what...  Does the

On Jul 15, 2:33 pm, "Bruno Bornsztein" <[EMAIL PROTECTED]>
wrote:
> It's probably because you didn't make your new controller inherit from
> BaseController:
>
> class NewController < BaseController
> ...
> end
>
> The base_helper.rb is where page_title is defined, and if your controller
> doesn't descend from BaseController, that helper won't be included. Of could
> you could always include it manually by doing:
>
> helper :base
>
> On Tue, Jul 15, 2008 at 1:28 PM, lazyprogramr <[EMAIL PROTECTED]> wrote:
>
> > So I added a resource (model, controller, views) to my CE application,
> > I also copied the application.html.haml to my local application and
> > made some slight modifications to include the controller in the topnav
> > of the layout.  However when I navigate to this, an exception is
> > thrown
>
> >  Showing layouts/application.html.haml where line #7 raised:
>
> > undefined local variable or method `page_title' for #<ActionView::Base:
> > 0x3c1f5f4>
>
> > So how do I include all the helpers in my local app (outside CE)?
>
> > Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" 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/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to