projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ba9f2
)
fix error response
author
Tom Clegg <tom@clinicalfuture.com>
Fri, 25 Jan 2013 00:25:08 +0000
(16:25 -0800)
committer
Tom Clegg <tom@clinicalfuture.com>
Fri, 25 Jan 2013 00:25:08 +0000
(16:25 -0800)
app/controllers/application_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/application_controller.rb
b/app/controllers/application_controller.rb
index 74e277f14ccda55e53fbb9eb9f7757b52dd09e54..ebc749e20f41aa6d36cad3d77694536df596a308 100644
(file)
--- a/
app/controllers/application_controller.rb
+++ b/
app/controllers/application_controller.rb
@@
-122,7
+122,7
@@
class ApplicationController < ActionController::Base
redirect_to '/auth/joshid'
}
format.json {
- render :json => {
'error' => 'Not logged in'
}.to_json
+ render :json => {
errors: ['Not logged in']
}.to_json
}
end
end