Skip to content

Commit

Permalink
fix typo in generator
Browse files Browse the repository at this point in the history
  • Loading branch information
baroquebobcat committed Nov 22, 2010
1 parent e21af84 commit 93d5f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dubious/cli/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def model#(name)
def controller#(name)
template "controller.mirah.tt", "app/controllers/#{name.underscore}_controller.mirah"
empty_directory "app/views/#{name.underscore}"
inject_into_file "WEB-INF/app.yaml", " - url: /#{name.underscore}/*\n servlet: controller.#{name.classify}Controller\n name: #{name.underscore}\n",:after => "handlers:\n"
inject_into_file "WEB-INF/app.yaml", " - url: /#{name.underscore}/*\n servlet: controllers.#{name.classify}Controller\n name: #{name.underscore}\n",:after => "handlers:\n"
end

end
Expand Down

0 comments on commit 93d5f86

Please sign in to comment.