fix js bugs

This commit is contained in:
Albert Yi
2018-04-26 15:01:57 -07:00
parent 95ab227b09
commit eddc789df2
4 changed files with 5 additions and 5 deletions

View File

@@ -128,7 +128,7 @@ class ApplicationController < ActionController::Base
def authentication_failed
respond_to do |fmt|
fmt.html do
render :text => "authentication failed", :status => 401
render :plain => "authentication failed", :status => 401
end
fmt.xml do