diff --git a/app/controllers/pdfviewer_controller.rb b/app/controllers/pdfviewer_controller.rb index 335ab606..5a24595b 100644 --- a/app/controllers/pdfviewer_controller.rb +++ b/app/controllers/pdfviewer_controller.rb @@ -5,7 +5,7 @@ def index @id = params[:id] @parent_id = FileSet.find(@id).parent_id else - redirect_to root_path, notice: "Document not found" + redirect_to root_path, alert: "Document not found" end end end \ No newline at end of file