enable uploads
This commit is contained in:
@@ -14,7 +14,6 @@ class CommentsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search
|
def search
|
||||||
# @search = Comment.search(params[:search])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def update
|
def update
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ class DmailsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search
|
def search
|
||||||
# @search = Dmail.search(params[:search])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ class ForumPostsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search
|
def search
|
||||||
# @search = ForumPost.search(params[:search])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ class NotesController < ApplicationController
|
|||||||
before_filter :pass_html_id, :only => [:create]
|
before_filter :pass_html_id, :only => [:create]
|
||||||
|
|
||||||
def search
|
def search
|
||||||
# @search = Note.search(params[:search])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ class PoolsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search
|
def search
|
||||||
# @search = Pool.search(params[:search])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|||||||
@@ -8,6 +8,5 @@ class PostVersionsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search
|
def search
|
||||||
# @search = PostVersion.search(params[:search])
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ class TagsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search
|
def search
|
||||||
# @search = Tag.search(params[:search])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|||||||
@@ -23,9 +23,6 @@ class UploadsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def create
|
def create
|
||||||
render :nothing => true
|
|
||||||
return
|
|
||||||
|
|
||||||
@upload = Upload.create(params[:upload].merge(:server => Socket.gethostname))
|
@upload = Upload.create(params[:upload].merge(:server => Socket.gethostname))
|
||||||
@upload.delay.process!
|
@upload.delay.process!
|
||||||
respond_with(@upload)
|
respond_with(@upload)
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ class UsersController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search
|
def search
|
||||||
# @search = User.search(params[:search])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
<div id="a-new">
|
<div id="a-new">
|
||||||
<h1>Upload</h1>
|
<h1>Upload</h1>
|
||||||
|
|
||||||
<p>Uploads temporarily disabled</p>
|
|
||||||
|
|
||||||
<div id="upload-guide-notice">
|
<div id="upload-guide-notice">
|
||||||
<p>Before uploading, please read the <%= link_to "how to upload guide", wiki_pages_path(:title => "howto:upload") %>.</p>
|
<p>Before uploading, please read the <%= link_to "how to upload guide", wiki_pages_path(:title => "howto:upload") %>.</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -11,7 +9,6 @@
|
|||||||
<%= render "image" %>
|
<%= render "image" %>
|
||||||
<%= render "post", :post => @post %>
|
<%= render "post", :post => @post %>
|
||||||
<%= render "sources/info", :source => @source %>
|
<%= render "sources/info", :source => @source %>
|
||||||
<!--
|
|
||||||
<%= form_for(@upload, :html => {:multipart => true, :class => "simple_form", :id => 'form'}) do |f| %>
|
<%= form_for(@upload, :html => {:multipart => true, :class => "simple_form", :id => 'form'}) do |f| %>
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<%= f.label :file %>
|
<%= f.label :file %>
|
||||||
@@ -62,7 +59,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user