DBServer/app/controllers/scanners_controller.rb
### called from scanner, this will trigger the Pusher in view
called from scanner, this will trigger the Pusher in view
called from scanner this will trigger the Pusher in view
def scan_status
    @message=params[:message].gsub(/[^0-9a-z ]/i, '-').last(30)
    @scan_complete=(params[:scan_complete]=='true')
    render('scan_status', :handlers => [:erb], :formats => [:js])
  end
def scan_status @message = params [ :message ] . gsub ( / [^0-9a-z ] /i , '-' ) . last ( 30 ) @scan_complete = ( params [ :scan_complete ] == 'true' ) render ( 'scan_status' , :handlers => [ :erb ] , :formats => [ :js ] ) end
called from scanner, this will trigger the Pusher in view
called from scanner this will trigger the Pusher in view