Replaced rfpdf with prawn and prawnto. Start to convert pdf-views.

This commit is contained in:
Benjamin Meichsner 2009-01-07 15:29:23 +01:00
parent da309f03b0
commit a6c7b04e33
165 changed files with 723 additions and 28123 deletions

View file

@ -66,6 +66,7 @@ Rails::Initializer.run do |config|
#
# library for parsing/writing files from/to csv-file
config.gem "fastercsv"
config.gem "prawn"
# The internationalization framework can be changed to have another default locale (standard is :en) or more load paths.
# All files from config/locales/*.rb,yml are added automatically.

View file

@ -1,6 +1,8 @@
ActionController::Routing::Routes.draw do |map|
map.my_profile 'my_profile', :controller => 'index', :action => 'myProfile'
map.root :controller => 'index'
# The priority is based upon order of creation: first created -> highest priority.
@ -43,5 +45,6 @@ ActionController::Routing::Routes.draw do |map|
# consider removing the them or commenting them out if you're using named routes and resources.
# Install the default route as the lowest priority.
map.connect ':controller/:action/:id', :controller => 'index'
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
end