Browse files

include prawn/layout by default with prawn 0.4

  • Loading branch information...
1 parent bee1e84 commit dbb8c1fd604b07a3d0e045919b89a45ffa4b2f9c thorny_sun committed Feb 2, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/prawnto.rb
View
5 lib/prawnto.rb
@@ -2,6 +2,11 @@
require 'action_view'
require 'prawn'
+begin
+ require "prawn/layout" # give people what they probably want
+rescue LoadError
+end
+
require 'prawnto/action_controller'
require 'prawnto/action_view'

0 comments on commit dbb8c1f

Please sign in to comment.