Completely remove old non-structured errors and migrate existing ones.

This commit is contained in:
Sebastian Serth
2018-11-29 19:38:23 +01:00
parent efacb5a6a9
commit 56c59a616e
19 changed files with 48 additions and 216 deletions

View File

@@ -7,8 +7,6 @@ de:
name: Name
oauth_key: OAuth Key
oauth_secret: OAuth Secret
error:
message: Nachricht
execution_environment:
docker_image: Docker-Image
exposed_ports: Zugängliche Ports
@@ -140,9 +138,6 @@ de:
consumer:
one: Konsument
other: Konsumenten
error:
one: Fehler
other: Fehler
error_template:
one: Fehlertemplate
other: Fehlertemplates
@@ -229,10 +224,6 @@ de:
consumers:
show:
link: Konsument
errors:
connection_refused: Verbindung abgelehnt
index:
count: Anzahl
execution_environments:
form:
hints:

View File

@@ -7,8 +7,6 @@ en:
name: Name
oauth_key: OAuth Key
oauth_secret: OAuth Secret
error:
message: Message
execution_environment:
docker_image: Docker Image
exposed_ports: Exposed Ports
@@ -140,9 +138,6 @@ en:
consumer:
one: Consumer
other: Consumers
error:
one: Error
other: Errors
error_template:
one: Error Template
other: Error Templates
@@ -229,10 +224,6 @@ en:
consumers:
show:
link: Consumer
errors:
connection_refused: Connection refused
index:
count: Count
execution_environments:
form:
hints:

View File

@@ -62,8 +62,6 @@ Rails.application.routes.draw do
post 'shell', as: :execute_command, action: :execute_command
get :statistics
end
resources :errors, only: [:create, :index, :show], controller: 'code_ocean/errors'
end
post '/import_proforma_xml' => 'exercises#import_proforma_xml'