Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
fix rails generatore load path
Browse files Browse the repository at this point in the history
  • Loading branch information
negonicrac committed Jan 24, 2010
1 parent c8a9403 commit b522f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haml/scaffold/scaffold_generator.rb
@@ -1,11 +1,11 @@
require 'generators/haml'
require 'rails/generators/erb/scaffold/scaffold_generator'
require 'generators/erb/scaffold/scaffold_generator'

module Haml
module Generators
class ScaffoldGenerator < Erb::Generators::ScaffoldGenerator
extend TemplatePath

def copy_layout_file
return unless options[:layout]
template "layout.haml.erb",
Expand Down

0 comments on commit b522f0d

Please sign in to comment.