class Ember::Generators::RouteGenerator
Public Instance Methods
create_route_files()
click to toggle source
# File lib/generators/ember/route_generator.rb, line 15 def create_route_files file_path = File.join(ember_path, 'routes', class_path, "#{file_name}_route.#{engine_extension}") template "route.#{engine_extension}", file_path end