Class: RailsBooking::TimeController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- RailsBooking::TimeController
- Defined in:
- app/controllers/rails_booking/time_controller.rb
Instance Method Summary collapse
Instance Method Details
#repeat_form ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/controllers/rails_booking/time_controller.rb', line 4 def repeat_form @booking = params[:booking_type].classify.constantize.new @booking.repeat_type = params[:repeat_type] if @booking.repeat_type_changed? @booking.repeat_days = [] end end |