lib/generators/ember/resource_override.rb in ember-rails-0.20.5 vs lib/generators/ember/resource_override.rb in ember-rails-0.20.6
- old
+ new
@@ -6,12 +6,12 @@
module Rails
module Generators
ResourceGenerator.class_eval do
class_option :javascript_engine, :desc => "Engine for JavaScripts"
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
class_option :with_template, :type => :boolean, :default => false, :desc => "Create template for this view"
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
def add_ember
say_status :invoke, "ember:model", :white
with_padding do
invoke "ember:model"