Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mileszs/wicked_pdf
base: b6e1f6b0f0
...
head fork: mileszs/wicked_pdf
compare: 2f7b5fa6f8
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Feb 23, 2012
@sebap sebap Update lib/wicked_pdf.rb 1252f1a
@unixmonkey unixmonkey Merge pull request #90 from sebap/master
Fixing bug on trying to read RAILS_ENV
2f7b5fa
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/wicked_pdf.rb
View
2  lib/wicked_pdf.rb
@@ -45,7 +45,7 @@ def pdf_from_string(string, options={})
def in_development_mode?
(defined?(Rails) && Rails.env == 'development') ||
- (RAILS_ENV && RAILS_ENV == 'development')
+ (defined?(RAILS_ENV) && RAILS_ENV == 'development')
end
def on_windows?

No commit comments for this range

Something went wrong with that request. Please try again.