Corrected with rubocop cop 'Style/AlignHash'.

This commit is contained in:
Thorsten Eckel 2015-05-01 14:02:27 +02:00
parent 92ca9f1bcd
commit 7929477838
2 changed files with 9 additions and 9 deletions

View file

@ -65,7 +65,7 @@ class ImportOtrsController < ApplicationController
# return result
render json: {
result: 'invalid',
message_human: message_human,
message_human: message_human,
}
end

View file

@ -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