Skip to content

Commit f11a2df

Browse files
authored
add syntax highlighting for readme
1 parent ae23491 commit f11a2df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ There are also noscript styles for Browsers with Javascript disabled, to use the
7272

7373
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.
7474

75-
Rails.application.config.middleware.use JQuery::FileUpload::Rails::Middleware
75+
```ruby
76+
Rails.application.config.middleware.use JQuery::FileUpload::Rails::Middleware
77+
```
7678

7779
## Example apps
7880
[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

0 commit comments

Comments
 (0)