app/controllers/meeting_reservations_controller.rb
# Shows the current matrix data for both _event_ and _relay_ reservations,
# for the (currently) chseon meeting, team and logged-in user.
#
Shows the current matrix data for both _event_ and _relay_ reservations,
for the (currently) chseon meeting, team and logged-in user.
Shows the current matrix data for both _event_ and _relay_ reservations for the ( currently ) chseon meeting team and logged - in user .
def show
    ms = MeetingSchedule.new( @meeting )
    ms.retrieve_schedule_data
    @msdao = ms.set_meeting_schedule_dao
    mrs = MeetingReservationsSummary.new( @meeting, @team )
    mrs.retrieve_reservation_data
    @mrsdao = mrs.set_meeting_reservation_summary_dao
    if @mrsdao.reservations.size < 1
      flash[:error] = I18n.t(:no_result_to_show)
      redirect_to( meetings_current_path() ) and return
    end
  end
def show ms = MeetingSchedule . new ( @meeting ) ms . retrieve_schedule_data @msdao = ms . set_meeting_schedule_dao mrs = MeetingReservationsSummary . new ( @meeting , @team ) mrs . retrieve_reservation_data @mrsdao = mrs . set_meeting_reservation_summary_dao if @mrsdao . reservations . size < 1 flash [ :error ] = I18n . t ( :no_result_to_show ) redirect_to ( meetings_current_path ( ) ) and return end end
Shows the current matrix data for both _event_ and _relay_ reservations,
for the (currently) chseon meeting, team and logged-in user.
Shows the current matrix data for both _event_ and _relay_ reservations for the ( currently ) chseon meeting team and logged - in user .
# Retrieves meeting headers (sessions and events) # Retrieves team (affiliation) reservations # Stops if no reservations found