lib/jets/generator.rb in jets-0.8.18 vs lib/jets/generator.rb in jets-0.9.0
- old
+ new
@@ -25,10 +25,10 @@
# g.test_framework :rspec # need to
# TODO: load rspec configuration to use rspec
g.stylesheets false
g.javascripts false
g.assets false
- g.api Jets.config.api_generator
+ g.api Jets.config.api_mode
g.resource_route true
g.templates.unshift(template_paths)
g
end