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 # return result
render json: { render json: {
result: 'invalid', result: 'invalid',
message_human: message_human, message_human: message_human,
} }
end end

View file

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