disable uploads for debugging
This commit is contained in:
@@ -23,6 +23,9 @@ class UploadsController < ApplicationController
|
||||
end
|
||||
|
||||
def create
|
||||
render :nothing => true
|
||||
return
|
||||
|
||||
@upload = Upload.create(params[:upload].merge(:server => Socket.gethostname))
|
||||
@upload.delay.process!
|
||||
respond_with(@upload)
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
<div id="a-new">
|
||||
<h1>Upload</h1>
|
||||
|
||||
<p>Uploads temporarily disabled</p>
|
||||
|
||||
<!--
|
||||
<div id="upload-guide-notice">
|
||||
<p>Before uploading, please read the <%= link_to "how to upload guide", wiki_pages_path(:title => "howto:upload") %>.</p>
|
||||
</div>
|
||||
@@ -60,6 +63,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user