Skip to content

Commit

Permalink
changed notice to alert on redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
dfmurphy-wpi committed Oct 26, 2021
1 parent b148ff3 commit 3cc31b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/pdfviewer_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3cc31b7

Please sign in to comment.