Skip to content

Commit

Permalink
Remove hack and use unloadable to behave correctly in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam McCrea committed Jul 19, 2010
1 parent b24f1b7 commit 6fe3de4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions init.rb

This file was deleted.

2 changes: 2 additions & 0 deletions lib/app/controllers/mockups_controller.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,6 @@
class MockupsController < ApplicationController class MockupsController < ApplicationController
unloadable

LAYOUTS = Dir.glob(File.join(Rails.root, 'app', 'views', 'layouts', '*.html.*')).map do |file| LAYOUTS = Dir.glob(File.join(Rails.root, 'app', 'views', 'layouts', '*.html.*')).map do |file|
File.basename(file).split('.').first File.basename(file).split('.').first
end end
Expand Down

0 comments on commit 6fe3de4

Please sign in to comment.