Skip to content

Commit

Permalink
Merge pull request #234 from gbataille/develop
Browse files Browse the repository at this point in the history
options[:model_dir] seems to be an array now
  • Loading branch information
ctran committed Mar 10, 2015
2 parents bc823a1 + bb42457 commit 722b3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/annotate.rb
Expand Up @@ -71,7 +71,7 @@ def self.setup_options(options = {})
options[key] = (!ENV[key.to_s].blank?) ? ENV[key.to_s].split(',') : []
end

if(!options[:model_dir])
if(options[:model_dir].empty?)
options[:model_dir] = ['app/models']
end

Expand Down

0 comments on commit 722b3fe

Please sign in to comment.