app/controllers/nether_controller.rb in nether-0.0.4 vs app/controllers/nether_controller.rb in nether-0.0.5

- old
+ new

@@ -1,5 +1,13 @@ module NetherController + + # Captures the request and renders the partial + # + # ==== Signatures + # + # render_nether(partial) + # + # render_nether(partial, delay) def render_nether(partial, delay=3) if request.xhr? sleep(delay) render :partial => partial end \ No newline at end of file