Permalink
Browse files

don't even pretend to support the .htm extension... shameful.

  • Loading branch information...
1 parent 00461fe commit b7e2dc6c6f17b002e8a903e2fa99b51b43543530 @adamlogic committed Apr 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/mockups_controller.rb
@@ -8,7 +8,7 @@ def index
@entries = []
@directories = ActiveSupport::OrderedHash.new
- Dir.glob File.join(Rails.root, 'app', 'views', 'mockups', '**', '[^_]*.htm*') do |template|
+ Dir.glob File.join(Rails.root, 'app', 'views', 'mockups', '**', '[^_]*.html*') do |template|
parent_dir = File.dirname(template).split(/[\/]/).last
template_name = File.basename(template).split('.').first

0 comments on commit b7e2dc6

Please sign in to comment.