lib/knitkit/config.rb in knitkit-2.1.9 vs lib/knitkit/config.rb in knitkit-2.1.10

- old
+ new

@@ -1,13 +1,14 @@ module Knitkit module Config class << self - attr_accessor :unauthorized_url, :ignored_prefix_paths + attr_accessor :unauthorized_url, :ignored_prefix_paths, :images_base_path def init! @defaults = { :@unauthorized_url => '/unauthorized', - :@ignored_prefix_paths => [] + :@ignored_prefix_paths => [], + :@images_base_path => File.join("public", "knitkit") } end def reset! @defaults.each do |k,v| \ No newline at end of file