Changeset 3239 for website

Show
Ignore:
Timestamp:
11/18/09 01:11:56 (3 years ago)
Author:
pka
Message:

Route updates for printing

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • website/trunk/doc/implementations/rails.txt

    r3235 r3239  
    132132  ./script/generate print_controller Print 
    133133 
     134Add the following routes to config/routes.rb:: 
     135 
     136   map.connect 'print/info.:format',   :controller=>'print', :action=>'info',   :method=>:get 
     137   map.connect 'print/create.:format', :controller=>'print', :action=>'create', :method=>:post 
     138   map.connect 'print/:id.:format',    :controller=>'print', :action=>'show',   :method=>:get 
     139 
     140 
    134141You'll need to have `Sun's JRE <http://www.java.com/download/>`_ installed to make this working. 
    135142