From f11a2df8f8425a988f577a59cd9d9a0b9039ef8c Mon Sep 17 00:00:00 2001 From: Dapeng Date: Wed, 29 Jun 2016 16:14:12 +0800 Subject: [PATCH] add syntax highlighting for readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a648c1..ee1fbb4 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,9 @@ There are also noscript styles for Browsers with Javascript disabled, to use the The `jquery.iframe-transport` fallback transport has some special caveats regarding the response data type, http status, and character encodings. `jquery-fileupload-rails` includes a middleware that handles these inconsistencies seamlessly. If you decide to use it, create an initializer that adds the middleware to your application's middleware stack. - Rails.application.config.middleware.use JQuery::FileUpload::Rails::Middleware +```ruby +Rails.application.config.middleware.use JQuery::FileUpload::Rails::Middleware +``` ## Example apps [jquery-fileupload-rails-paperclip-example](https://github.com/tors/jquery-fileupload-rails-paperclip-example): jQuery File Upload in Rails 3.2 with Paperclip and Bootstrap