-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Justin S. Leitgeb
committed
Sep 8, 2008
1 parent
6d1284d
commit 745386a
Showing
5 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
Merb::Generators::ControllerGenerator.template :index_haml, :template_engine => :haml do | Merb::Generators::ControllerGenerator.template :index_haml, :template_engine => :haml do |t| | ||
source(File.dirname(__FILE__), 'templates/controller/app/views/%file_name%/index.html.haml') | t.source = File.join(File.dirname(__FILE__), 'templates/controller/app/views/%file_name%/index.html.haml') | ||
destination("app/views", base_path, "#{file_name}/index.html.haml") | t.destination = File.join("app/views", base_path, "#{file_name}/index.html.haml") | ||
end | end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
Merb::Generators::LayoutGenerator.template :layout_haml, :template_engine => :haml do | Merb::Generators::LayoutGenerator.template :layout_haml, :template_engine => :haml do |t| | ||
source(File.dirname(__FILE__), 'templates/layout/app/views/layout/%file_name%.html.haml') | t.source = File.join(File.dirname(__FILE__), 'templates/layout/app/views/layout/%file_name%.html.haml') | ||
destination("app/views/layout/#{file_name}.html.haml") | t.destination = "app/views/layout/#{file_name}.html.haml" | ||
end | end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters