Closed caseyhelbling closed 7 years ago
Haha, that quick hack only lasted 7 years. 😉
I see, this is fixing a regression in https://github.com/minnestar/sessionizer/commit/0778997d70fea216f235a5471d0152c6f03d570a
Yah. At some point I introduced a bug by manually overriding the checkbox by updating the routes file to point to pages#home
. This undoes that hack so the schedules controller can actually do its job.
def index
unless Settings.show_schedule? || params[:force]
redirect_to home_page_path
return
end
This allows us to dynamically toggle the schedule/sessions as the landing page.