Corrected with rubocop cop 'Style/AlignHash'.
This commit is contained in:
parent
92ca9f1bcd
commit
7929477838
2 changed files with 9 additions and 9 deletions
|
@ -65,7 +65,7 @@ class ImportOtrsController < ApplicationController
|
||||||
# return result
|
# return result
|
||||||
render json: {
|
render json: {
|
||||||
result: 'invalid',
|
result: 'invalid',
|
||||||
message_human: message_human,
|
message_human: message_human,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -55,14 +55,14 @@ class SessionsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
# return new session data
|
# return new session data
|
||||||
render json: {
|
render status: :created,
|
||||||
session: user,
|
json: {
|
||||||
models: models,
|
session: user,
|
||||||
collections: collections,
|
models: models,
|
||||||
assets: assets,
|
collections: collections,
|
||||||
logon_session: logon_session_key,
|
assets: assets,
|
||||||
},
|
logon_session: logon_session_key,
|
||||||
status: :created
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|
Loading…
Reference in a new issue