Skip to content

Commit 3cc31b7

Browse files
committed
changed notice to alert on redirect
1 parent b148ff3 commit 3cc31b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/pdfviewer_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def index
55
@id = params[:id]
66
@parent_id = FileSet.find(@id).parent_id
77
else
8-
redirect_to root_path, notice: "Document not found"
8+
redirect_to root_path, alert: "Document not found"
99
end
1010
end
1111
end

0 commit comments

Comments
 (0)