enable uploads

This commit is contained in:
albert
2013-02-17 21:39:15 -05:00
parent eb1ba8f708
commit eb5e526678
10 changed files with 0 additions and 15 deletions

View File

@@ -14,7 +14,6 @@ class CommentsController < ApplicationController
end
def search
# @search = Comment.search(params[:search])
end
def update

View File

@@ -20,7 +20,6 @@ class DmailsController < ApplicationController
end
def search
# @search = Dmail.search(params[:search])
end
def show

View File

@@ -22,7 +22,6 @@ class ForumPostsController < ApplicationController
end
def search
# @search = ForumPost.search(params[:search])
end
def show

View File

@@ -4,7 +4,6 @@ class NotesController < ApplicationController
before_filter :pass_html_id, :only => [:create]
def search
# @search = Note.search(params[:search])
end
def index

View File

@@ -21,7 +21,6 @@ class PoolsController < ApplicationController
end
def search
# @search = Pool.search(params[:search])
end
def show

View File

@@ -8,6 +8,5 @@ class PostVersionsController < ApplicationController
end
def search
# @search = PostVersion.search(params[:search])
end
end

View File

@@ -14,7 +14,6 @@ class TagsController < ApplicationController
end
def search
# @search = Tag.search(params[:search])
end
def show

View File

@@ -23,9 +23,6 @@ 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)

View File

@@ -21,7 +21,6 @@ class UsersController < ApplicationController
end
def search
# @search = User.search(params[:search])
end
def show

View File

@@ -2,8 +2,6 @@
<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>
@@ -11,7 +9,6 @@
<%= render "image" %>
<%= render "post", :post => @post %>
<%= render "sources/info", :source => @source %>
<!--
<%= form_for(@upload, :html => {:multipart => true, :class => "simple_form", :id => 'form'}) do |f| %>
<div class="input">
<%= f.label :file %>
@@ -62,7 +59,6 @@
</div>
</div>
<% end %>
-->
</div>
</div>