app/controllers/myreplicator/exports_controller.rb in myreplicator-1.1.49 vs app/controllers/myreplicator/exports_controller.rb in myreplicator-1.1.50

- old
+ new

@@ -95,9 +95,16 @@ respond_to do |format| format.html { redirect_to exports_url } format.json { head :no_content } end end + + def reload + @export = Export.find(params[:id]) + flash[:notice] = "'#{@export.destination_schema}.#{@export.table_name}' is reloading" + @export.reload + redirect_to :action => 'show' + end private def tab @tab = "exports"