Commit just for you, Ralf :)

This commit is contained in:
Felix Wolff
2015-03-27 10:32:10 +01:00
parent 9bc8fab0e9
commit e31675f136
11 changed files with 18669 additions and 16 deletions

View File

@ -1,6 +1,15 @@
FILENAME_REGEXP = /[\w\.]+/ unless Kernel.const_defined?(:FILENAME_REGEXP)
Rails.application.routes.draw do
resources :comments, except: [:destroy] do
collection do
delete :destroy
end
end
delete '/comment_by_id', to: 'comments#destroy_by_id'
put '/comments', to: 'comments#update'
root to: 'application#welcome'
namespace :admin do