Class: Prawnto::ModelRenderer::CustomController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Prawnto::ModelRenderer::CustomController
- Defined in:
- lib/prawnto/model_renderer.rb
Instance Method Summary collapse
-
#initialize ⇒ CustomController
constructor
A new instance of CustomController.
Constructor Details
#initialize ⇒ CustomController
Returns a new instance of CustomController.
5 6 7 8 9 10 |
# File 'lib/prawnto/model_renderer.rb', line 5 def initialize super self.request = ActionDispatch::Request.new({}) self.response = ActionDispatch::Response.new() self.params = {:format => :pdf} end |