Class: PagelimeReceiverController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/pagelime_receiver_controller.rb

Instance Method Summary collapse

Instance Method Details

#after_publish_callbackObject



7
8
9
10
11
12
# File 'app/controllers/pagelime_receiver_controller.rb', line 7

def after_publish_callback
  Pagelime.cache.clear_page params[:path]
  Pagelime.cache.clear_shared

	render :inline => "cache cleared", :status => 200
end

#indexObject



3
4
5
# File 'app/controllers/pagelime_receiver_controller.rb', line 3

def index
  render :inline => "working", :status => 200
end