lib/generators/ember/generator_helpers.rb in ember-rails-lite-0.9.2 vs lib/generators/ember/generator_helpers.rb in ember-rails-lite-0.11.1
- old
+ new
@@ -1,10 +1,10 @@
module Ember
module Generators
module GeneratorHelpers
def ember_path
- "app/assets/javascripts"
+ options[:ember_path] || "app/assets/javascripts"
end
def application_name
if defined?(::Rails) && ::Rails.application
::Rails.application.class.name.split('::').first