Commit bb42457e by Grégory Bataille

options[:model_dir] seems to be an array now

parent bc823a11
...@@ -71,7 +71,7 @@ module Annotate ...@@ -71,7 +71,7 @@ module Annotate
options[key] = (!ENV[key.to_s].blank?) ? ENV[key.to_s].split(',') : [] options[key] = (!ENV[key.to_s].blank?) ? ENV[key.to_s].split(',') : []
end end
if(!options[:model_dir]) if(options[:model_dir].empty?)
options[:model_dir] = ['app/models'] options[:model_dir] = ['app/models']
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment