Class: CalendarsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- CalendarsController
- Defined in:
- app/controllers/calendars_controller.rb
Instance Method Summary (collapse)
Methods inherited from ApplicationController
#authorize_customer!, #authorize_provider!
Instance Method Details
- (Object) index
5 6 7 8 |
# File 'app/controllers/calendars_controller.rb', line 5 def index @calendar_form = CalendarForm.new request, calendar_form_params @slots = current_user.week_slots(@calendar_form.current_week).decorate(context: { current_user: current_user }) end |