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

@@ -209,6 +209,12 @@ de:
start: Mit dem Programmieren beginnen
test_count: '<span class="number">%{count}</span> Test-Dateien wurden ausgeführt.'
workspace: Arbeitsbereich
comment:
dialogtitle: Kommentieren Sie diese Zeile!
others: Andere Kommentare auf dieser Zeile
addyours: Fügen Sie Ihren Kommentar hinzu
addComment: Hinzufügen
removeAllOnLine: Alle Kommentare auf dieser Zeile löschen
index:
clone: Duplizieren
implement: Implementieren

View File

@@ -209,6 +209,12 @@ en:
start: Start Coding
test_count: '<span class="number">%{count}</span> test files have been executed.'
workspace: Workspace
comment:
dialogtitle: Comment on this line!
others: Other comments on this line
addyours: Add your comment
addComment: Add comment
removeAllOnLine: Remove all comments on this line
index:
clone: Duplicate
implement: Implement

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