jlong / serve

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
http://get-serve.com
Other
836 stars 90 forks source link

Fixed problem with export that caused filenames with underscore to be excluded #32

Closed bmaland closed 13 years ago

bmaland commented 13 years ago

The regexp for @views.reject actually rejected any view that contained an underscore, not just partials. I modified it so that it only rejects files that start with (partials in the site root directory) or files that start with / (partials in subfolders).