Skip to content

Commit

Permalink
fix/geddy-gen contoller/application view
Browse files Browse the repository at this point in the history
added generation of the application view to generation task
of controller
  • Loading branch information
scasei authored and mde committed Nov 5, 2010
1 parent 4823948 commit da52cb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions geddy-core/scripts/Jakefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ task('controller', [], function (nameParam) {
'mkdir -p ./app/views/' + names.filename.plural
, 'cp ~/.node_libraries/geddy-core/scripts/gen/views/index.html.ejs ' +
'./app/views/' + names.filename.plural + '/'
, 'mkdir -p ./app/views/layouts'
, 'rsync -u ~/.node_libraries/geddy-core/scripts/gen/views/layout.html.ejs ' +
'./app/views/layouts/application.html.ejs'
]
runCmds(cmds, function () {
sys.puts('Created view templates.');
Expand Down

0 comments on commit da52cb1

Please sign in to comment.