Commit 0934ecf6 by LI Daobing

use ul

parent 21e1fa18
...@@ -8,16 +8,16 @@ example site: http://stark-cloud-4321.herokuapp.com/ ...@@ -8,16 +8,16 @@ example site: http://stark-cloud-4321.herokuapp.com/
## Usage ## Usage
0. confirm you are working on a rails app * confirm you are working on a rails app
1. add following line to `Gemfile` * add following line to `Gemfile`
```ruby ```ruby
gem 'paperclip' gem 'paperclip'
gem 'paperclip-qiniu' gem 'paperclip-qiniu'
``` ```
2. edit your `config/application.rb` * edit your `config/application.rb`
```ruby ```ruby
module PaperclipQiniuExample module PaperclipQiniuExample
...@@ -38,7 +38,7 @@ end ...@@ -38,7 +38,7 @@ end
for more information on `qiniu_host`, read http://docs.qiniutek.com/v2/sdk/ruby/#publish for more information on `qiniu_host`, read http://docs.qiniutek.com/v2/sdk/ruby/#publish
3. add a model like this * add a model like this
```ruby ```ruby
class Image < ActiveRecord::Base class Image < ActiveRecord::Base
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment