app/helpers/schedules_helper.rb
# parameters of popup window to show schedule
parameters of popup window to show schedule
parameters of popup window to show schedule
def convert_to_calendar_type(schedule_span = @schedule_span)
    case schedule_span
      when SchedulesController::MONTH, SchedulesController::MONTH2
        "month"
      when SchedulesController::WEEK
        "week"
      when SchedulesController::DAY
         "day"
    end
  end
def convert_to_calendar_type ( schedule_span = @schedule_span ) case schedule_span when SchedulesController :: MONTH , SchedulesController :: MONTH2 "month" when SchedulesController :: WEEK "week" when SchedulesController :: DAY "day" end end
parameters of popup window to show schedule
parameters of popup window to show schedule
schedule_span
<not_specific>