removecomments

This commit is contained in:
Andreas Stephanides
2014-10-04 12:09:56 +02:00
parent 6a4d2ff536
commit 6ee1468ce3
19 changed files with 5 additions and 296 deletions

View File

@@ -2,7 +2,7 @@ require File.expand_path('../boot', __FILE__)
require 'rails/all'
require File.expand_path('lib/like_voteable.rb')
require File.expand_path('lib/is_commentable.rb')
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line

View File

@@ -1,5 +1,5 @@
Fetsite::Application.routes.draw do
resources :comments
themes_for_rails
@@ -132,11 +132,7 @@ Fetsite::Application.routes.draw do
end
end
end
resources :comments do
collection do
get 'hide'
end
end
resources :home, :only=>[:index] do
get :search, :on => :collection
collection do