updates
This commit is contained in:
@@ -3,6 +3,6 @@ class HomeController < ApplicationController
|
||||
def index
|
||||
Time.zone = 'Pacific Time (US & Canada)'
|
||||
@year = params['year'].nil? ? Date.today.year : params['year'].to_i
|
||||
@events = [Event.new]
|
||||
@events = CalendarService.new.events + CalendarService.new.vacations
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user