Commit 05eb576a by Rafael Jurado González Committed by Jon Yurek

Missing a bracket in a documentation example (Dynamic Styles).

parent b6de0f45
......@@ -605,7 +605,7 @@ look as follows where a boss will receive a `300x300` thumbnail otherwise a
```ruby
class User < ActiveRecord::Base
has_attached_file :avatar, :styles => lambda { |attachment| { :thumb => (attachment.instance.boss? ? "300x300>" : "100x100>") }
has_attached_file :avatar, :styles => lambda { |attachment| { :thumb => (attachment.instance.boss? ? "300x300>" : "100x100>") } }
end
```
......
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