Hi! Just make your controller inherit BaseController to use the functions in it.
class MyController < BaseController If you want to use the functions in the base_helper, just call the @template instance. @template.page_title if you want to set the page_title, you just need to set the @page_title variable. On Sat, Dec 19, 2009 at 7:30 AM, slawosz <[email protected]> wrote: > Hi, > community_engine is great and I already started integrating it with my > application. In my own controller, I have an error. It looks like my > controller can't use BaseHelper from CE ie there is error with > 'page_title' etc. > How to use BaseHelper in my own controllers? > > -- > > 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]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > > -- 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.
