Skip to content

Commit

Permalink
modified readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arydjmal committed Jan 11, 2009
1 parent f357c39 commit 5b07ce6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ This simple plugin gives you the ability to call to_xls to a collection of activ

== Real life example

In config/initializers/mime_types.rb register the custom mime type.

Mime::Type.register "application/vnd.ms-excel", :xls


In the controller where you want to export to excel, add the format.xls line.

class UserController < ApplicationController
Expand Down

0 comments on commit 5b07ce6

Please sign in to comment.