molten-trunk/molten5_withgrid/app/controllers/application.rb
# Renders a downtime page if we are within a current downtime. 
Renders a downtime page if we are within a current downtime.
Renders a downtime page if we are within a current downtime .
def check_downtime
    if @downtime = SfmoltenPost.check_downtime_interval
      render(:layout => 'blank', :template => 'scheduled_maintenance/show')
      return false
    end
  end
def check_downtime if @downtime = SfmoltenPost . check_downtime_interval render ( :layout => 'blank' , :template => 'scheduled_maintenance/show' ) return false end end
Renders a downtime page if we are within a current downtime.
Renders a downtime page if we are within a current downtime .