mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
Fix user projects not working
This commit is contained in:
parent
fba646bfba
commit
198febfd94
2 changed files with 3 additions and 4 deletions
|
@ -76,10 +76,7 @@ class UserProjectsController < ApplicationController
|
|||
format.json {
|
||||
render :json => {
|
||||
status: 'error',
|
||||
error: error,
|
||||
:errors => [
|
||||
flash_error
|
||||
]
|
||||
error: error
|
||||
}
|
||||
}
|
||||
end
|
||||
|
|
|
@ -418,6 +418,8 @@ en:
|
|||
normal_user: "User"
|
||||
technician: "Technician"
|
||||
viewer: "Viewer"
|
||||
edit:
|
||||
update_role: "Change Role"
|
||||
create:
|
||||
select_user_role: "Please select a user role."
|
||||
add_user_generic_error: "An error occured. "
|
||||
|
|
Loading…
Reference in a new issue