README.md in htmltoword-0.2.0 vs README.md in htmltoword-0.2.1

- old
+ new

@@ -1,7 +1,9 @@ # Ruby Html to word Gem [![Code Climate](https://codeclimate.com/github/nickfrandsen/htmltoword.png)](https://codeclimate.com/github/nickfrandsen/htmltoword) [![Build Status](https://travis-ci.org/nickfrandsen/htmltoword.png)](https://travis-ci.org/nickfrandsen/htmltoword) +## OBS: This repository is no longer being maintained. Please take a look at https://github.com/karnov/htmltoword + This simple gem allows you to create MS Word docx documents from simple html documents. This makes it easy to create dynamic reports and forms that can be downloaded by your users as simple MS Word docx files. Add this line to your application's Gemfile: gem 'htmltoword' @@ -79,10 +81,10 @@ **For htmltoword version <= 0.1.8** ```ruby # Add mime-type in /config/initializers/mime_types.rb: Mime::Type.register "application/vnd.openxmlformats-officedocument.wordprocessingml.document", :docx -# Add docx reponder in your controler +# Add docx responder in your controller def show respond_to do |format| format.docx do file = Htmltoword::Document.create params[:docx_html_source], "file_name.docx" send_file file.path, :disposition => "attachment"