angular_velocity 0.0.4alpha → 0.0.5alpha
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,13 +13,11 @@ module AngularVelocity
|
|
13
13
|
desc "This generator creates an angular service"
|
14
14
|
|
15
15
|
def run_rails_generators
|
16
|
-
pp "2"
|
17
16
|
Rails::Generators.invoke("controller", [file_name])
|
18
17
|
Rails::Generators.invoke("model", [file_name])
|
19
18
|
end
|
20
19
|
|
21
20
|
def run_angular_generators
|
22
|
-
pp "2"
|
23
21
|
Rails::Generators.invoke("angular_velocity:controller", [file_name])
|
24
22
|
Rails::Generators.invoke("angular_velocity:service", [file_name])
|
25
23
|
end
|