5 6 7 8 9 10
# File 'app/portlets/event_portlet.rb', line 5 def render # @event should already be set by the page route if !@event && params[:event_id] @event = BcmsEvent::Event.published.find(params[:event_id]) end end