DBServer/app/controllers/converters_controller.rb
### called from converter, when preview images are created
called from converter, when preview images are created
called from converter when preview images are created
def convert_upload_jpgs
    page=Page.find(params[:page][:id])
    page.save!
    page.save_file(params[:page][:result_jpg], :jpg)
    page.save_file(params[:page][:result_sjpg], :s_jpg)
    push_app_status 
    push_converted_page(page)
    render :nothing => true
  end
def convert_upload_jpgs page = Page . find ( params [ :page ] [ :id ] ) page . save! page . save_file ( params [ :page ] [ :result_jpg ] , :jpg ) page . save_file ( params [ :page ] [ :result_sjpg ] , :s_jpg ) push_app_status push_converted_page ( page ) render :nothing => true end
called from converter, when preview images are created
called from converter when preview images are created
## send status-update to application main page via private_pub gem, fayes,