Page Rendering Problem

I have the following bit of code defining a custom page type. I
define an event and the normal body part. However, when a URL comes
it is getting parsed correctly but the page is rendering with the
body part rather than the event part. Can anyone see something that I
am just missing?

=== SNIP ===
class EventPage < Page
description ‘Provides behaviors to a support the events system.’

Behaviors

@event, @render = nil

def cache?
false
end

def find_by_url(url, live = true, clean = false)
url = clean_url(url) if clean

 if url =~ %r{/([0-9]*)/?$}
   event = $1

   if !event.blank?
     @event = Event.find(event)

     @render = 'event'

     self
   else
     super
   end
 else
   super
 end

end

def render
if @render.nil?
super
else

   lazy_initialize_parser_and_context

   if layout
     parse_object(layout)
   else
     render_part(@render)
   end
 end

end
end
=== SNIP ===

Thanks,
James Thompson