Skip to content

Commit

Permalink
push debug into url parts
Browse files Browse the repository at this point in the history
  • Loading branch information
okor committed Apr 7, 2016
1 parent c138336 commit 7768352
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/thumbor/crypto_url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ def url_for(options, include_hash = true)

url_parts = Array.new

if options[:debug]
url_parts.push('debug')
end

if options[:trim]
trim_options = ['trim']
trim_options << options[:trim] unless options[:trim] == true or options[:trim][0] == true
Expand Down

0 comments on commit 7768352

Please sign in to comment.