test/dummy/app/controllers/application_controller.rb in wisepdf-1.1.3 vs test/dummy/app/controllers/application_controller.rb in wisepdf-1.2.0

- old
+ new

@@ -1,3 +1,7 @@ class ApplicationController < ActionController::Base - protect_from_forgery + protect_from_forgery + + def index + render :pdf => 'filename' + end end