|
|
@ -663,7 +663,8 @@ class ApplicationController < ActionController::Base
|
|
|
|
if api_request?
|
|
|
|
if api_request?
|
|
|
|
logger.error "Form authenticity token is missing or is invalid. API calls must include a proper Content-type header (text/xml or text/json)."
|
|
|
|
logger.error "Form authenticity token is missing or is invalid. API calls must include a proper Content-type header (text/xml or text/json)."
|
|
|
|
end
|
|
|
|
end
|
|
|
|
render_error "Invalid form authenticity token."
|
|
|
|
#render_error "Invalid form authenticity token."
|
|
|
|
|
|
|
|
redirect_to signin_path(:login=>true)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def render_feed(items, options={})
|
|
|
|
def render_feed(items, options={})
|
|
|
|