dynamics 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/dynamics +2 -2
- metadata +3 -3
data/bin/dynamics
CHANGED
@@ -24,8 +24,8 @@ def create_scaffold(name)
|
|
24
24
|
|
25
25
|
base_dir = File.join(File.dirname(__FILE__), '..', 'base')
|
26
26
|
|
27
|
-
f = File.new(File.join(controllers_dir, '
|
28
|
-
f.write(render_code(File.join(base_dir, 'controllers', '
|
27
|
+
f = File.new(File.join(controllers_dir, 'main_controller.rb'), 'w+')
|
28
|
+
f.write(render_code(File.join(base_dir, 'controllers', 'main_controller.rb')))
|
29
29
|
f.close
|
30
30
|
|
31
31
|
f = File.new(File.join(views_dir, 'main_view.rb'), 'w+')
|
metadata
CHANGED