Skip to content

Commit

Permalink
Merge pull request #41 from bootleq/tmpdir
Browse files Browse the repository at this point in the history
Change tmp_path default value to Dir::tmpdir.
  • Loading branch information
galetahub committed Jan 21, 2014
2 parents 9310eff + 4062eb0 commit 4aac1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simple_captcha.rb
Expand Up @@ -41,7 +41,7 @@ module SimpleCaptcha

# tmp directory
mattr_accessor :tmp_path
@@tmp_path = nil
@@tmp_path = Dir::tmpdir

def self.add_image_style(name, params = [])
SimpleCaptcha::ImageHelpers.image_styles.update(name.to_s => params)
Expand Down

0 comments on commit 4aac1c0

Please sign in to comment.