mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 12:09:17 +08:00
Settings SPA works
This commit is contained in:
parent
f43419d9a9
commit
78f26525e9
2 changed files with 6 additions and 3 deletions
6
.babelrc
6
.babelrc
|
@ -8,11 +8,11 @@
|
|||
"browsers": "> 1%",
|
||||
"uglify": true
|
||||
},
|
||||
"useBuiltIns": true
|
||||
"useBuiltIns": true,
|
||||
"loose": true
|
||||
}
|
||||
],
|
||||
"react",
|
||||
"es2015"
|
||||
"react"
|
||||
],
|
||||
"plugins": [
|
||||
"syntax-dynamic-import",
|
||||
|
|
|
@ -8,6 +8,9 @@ Rails.application.routes.draw do
|
|||
|
||||
root 'projects#index'
|
||||
|
||||
# React Frontend-Framework
|
||||
get '/react/settings', to: 'react/settings#index'
|
||||
|
||||
# Save sample table state
|
||||
post '/state_save/:team_id/:user_id',
|
||||
to: 'user_samples#save_samples_table_status',
|
||||
|
|
Loading…
Reference in a new issue