Skip to content

Commit

Permalink
Merge 33a397a into cd4f72c
Browse files Browse the repository at this point in the history
  • Loading branch information
duarme committed Dec 6, 2014
2 parents cd4f72c + 33a397a commit 7f0a7a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/guides/2 - Refinery Basics/9 - Resources.textile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ You can do this by making use of the after_inclusion hook refinery provides:
<ruby>
# config/application.rb
# refinery change content-disipotion
Refinery::Core::Engine.after_inclusion do
Refinery::Resource # force autoload
::Dragonfly[:refinery_resources].content_disposition = nil
Refinery::Core::Engine.after_inclusion do
Refinery::Resource # force autoload
::Dragonfly.app(:refinery_resources).response_header('Content-Disposition', nil)
end
end
</ruby>

Expand Down

0 comments on commit 7f0a7a8

Please sign in to comment.