comparison vendor/plugins/rfpdf/lib/rfpdf.rb @ 514:7eba09d624db live

Merge
author Chris Cannam
date Thu, 14 Jul 2011 10:50:53 +0100
parents cbce1fd3b1b7
children
comparison
equal deleted inserted replaced
512:b9aebdd7dd40 514:7eba09d624db
18 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 # THE SOFTWARE. 21 # THE SOFTWARE.
22 22
23 $LOAD_PATH.unshift(File.dirname(__FILE__)) 23 require 'action_controller'
24 require 'action_view'
24 25
25 require 'rfpdf/errors' 26 require 'rfpdf/action_controller'
26 require 'rfpdf/view' 27 require 'rfpdf/action_view'
27 require 'rfpdf/fpdf' 28
28 require 'rfpdf/rfpdf' 29 require 'rfpdf/template_handler/compile_support'
29 require 'rfpdf/chinese' 30
30 require 'rfpdf/japanese' 31 require 'rfpdf/template_handlers/base'
31 require 'rfpdf/korean' 32
33
34 class ActionController::Base
35 include RFPDF::ActionController
36 end
37
38 class ActionView::Base
39 include RFPDF::ActionView
40 end