lib/rails-brochure/home_content.rb in rails-brochure-0.1.0 vs lib/rails-brochure/home_content.rb in rails-brochure-0.1.1
- old
+ new
@@ -23,10 +23,10 @@
files
end
def self.templates
HomeContent.file_names.map do |f|
- f.gsub(/(#{home_folder_path}|.(#{Mime::EXTENSION_LOOKUP.keys.join("|")})\.\w+)/,"")
+ f.gsub(/(#{home_folder_path}|\.(#{Mime::EXTENSION_LOOKUP.keys.join("|")})\.\w+)/,"")
end
end
end
end