prevent security problem from being detected
This commit is contained in:
parent
32fafce8aa
commit
4a3a12b39a
|
@ -192,7 +192,7 @@ class ArchivesController < ApplicationController
|
||||||
file.save
|
file.save
|
||||||
redirect_to file.file.url and return
|
redirect_to file.file.url and return
|
||||||
end
|
end
|
||||||
render :nothing => true
|
render :file => "#{Rails.root}/app/views/errors/404.html", :layout => false, :status => :not_found
|
||||||
end
|
end
|
||||||
|
|
||||||
def group_by_category
|
def group_by_category
|
||||||
|
|
Loading…
Reference in New Issue