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
|
||||
render json: {
|
||||
result: 'invalid',
|
||||
message_human: message_human,
|
||||
message_human: message_human,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -55,14 +55,14 @@ class SessionsController < ApplicationController
|
|||
end
|
||||
|
||||
# return new session data
|
||||
render json: {
|
||||
session: user,
|
||||
models: models,
|
||||
collections: collections,
|
||||
assets: assets,
|
||||
logon_session: logon_session_key,
|
||||
},
|
||||
status: :created
|
||||
render status: :created,
|
||||
json: {
|
||||
session: user,
|
||||
models: models,
|
||||
collections: collections,
|
||||
assets: assets,
|
||||
logon_session: logon_session_key,
|
||||
}
|
||||
end
|
||||
|
||||
def show
|
||||
|
|
Loading…
Reference in a new issue