diff --git a/app/views/student_work/show.js.erb b/app/views/student_work/show.js.erb index 1a133a5d3..477f06e0f 100644 --- a/app/views/student_work/show.js.erb +++ b/app/views/student_work/show.js.erb @@ -25,7 +25,7 @@ else{ indentUnit: 2, matchBrackets: true, readOnly: true, - value: document.getElementById("work-src").innerText + value: $("#work-src").text() } ); diff --git a/config/routes.rb b/config/routes.rb index be9843a80..cead0fac0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -62,6 +62,9 @@ RedmineApp::Application.routes.draw do end end + get '/', to: 'organizations#show', defaults: { id: 5 }, constraints: {subdomain: 'micros'} + get '/', to: 'organizations#show', defaults: { id: 23 }, constraints: {subdomain: 'nubot'} + resources :org_member do member do