Skip to content

Commit 722b3fe

Browse files
committed
Merge pull request #234 from gbataille/develop
options[:model_dir] seems to be an array now
2 parents bc823a1 + bb42457 commit 722b3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/annotate.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def self.setup_options(options = {})
7171
options[key] = (!ENV[key.to_s].blank?) ? ENV[key.to_s].split(',') : []
7272
end
7373

74-
if(!options[:model_dir])
74+
if(options[:model_dir].empty?)
7575
options[:model_dir] = ['app/models']
7676
end
7777

0 commit comments

Comments
 (0)