Class: PagelimeReceiverController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/pagelime/rails2/controllers/pagelime_receiver_controller.rb

Instance Method Summary collapse

Instance Method Details

#after_publish_callbackObject



10
11
12
13
14
15
# File 'lib/pagelime/rails2/controllers/pagelime_receiver_controller.rb', line 10

def after_publish_callback
  ::Rails.logger.debug "PAGELIME RAILS RECEIVER after_publish_callback"
  status, headers, body = Rack::Pagelime.handle_publish_callback(request)
  
	render :inline => body.string, :status => status
end

#indexObject



3
4
5
6
7
8
# File 'lib/pagelime/rails2/controllers/pagelime_receiver_controller.rb', line 3

def index
  ::Rails.logger.debug "PAGELIME RAILS RECEIVER index"
  status, headers, body = Rack::Pagelime.handle_status_check(request)
  
  render :inline => body.string, :status => status
end