mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 08:18:50 +01:00
Convert render :text to render :body
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
This commit is contained in:
parent
60ae4f6f5f
commit
5805c511bb
9 changed files with 20 additions and 20 deletions
|
|
@ -19,14 +19,14 @@ class IntegrationsController < ApplicationController
|
|||
|
||||
def cloudmailin
|
||||
if !verify_cloudmailin_signature
|
||||
render :text => "Message signature verification failed.", :status => 403
|
||||
render :body => "Message signature verification failed.", :status => 403
|
||||
return false
|
||||
end
|
||||
|
||||
if process_message(params[:message])
|
||||
render :text => 'success', :status => 200
|
||||
render :body => 'success', :status => 200
|
||||
else
|
||||
render :text => "No user found or other error", :status => 404
|
||||
render :body => "No user found or other error", :status => 404
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue