app/helpers/schedules_helper.rb
# remote call for detail of schedule
remote call for detail of schedule
remote call for detail of schedule
def remote_call_for_schedule_detail(schedule, options = {}, html_options = {})
    options[:params ] = {:display_mode => @display_mode}
    options[:controller] = "schedules"
    if schedule.respond_to?(:lecture_id)    
      options[:controller] = "lectures"
      options[:action]     = "show_lecture_schedule"
      options[:id]         = "#{schedule.lecture_id}:Lecture"
    end
    remote_call_for_detail  schedule, options
  end
def remote_call_for_schedule_detail ( schedule , options = { } , html_options = { } ) options [ :params ] = { :display_mode => @display_mode } options [ :controller ] = "schedules" if schedule . respond_to? ( :lecture_id ) options [ :controller ] = "lectures" options [ :action ] = "show_lecture_schedule" options [ :id ] = "#{schedule.lecture_id}:Lecture" end remote_call_for_detail schedule , options end
remote call for detail of schedule
remote call for detail of schedule
# schdeule article for lecture
schedule
<not_specific>
options
<not_specific>
html_options
<not_specific>