Permalink
Browse files

Whitespace

  • Loading branch information...
tomhuda
tomhuda committed May 2, 2012
1 parent 773be13 commit 51f1f2bf38962bf6b0d0ed18540742e9828596e5
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/generators/ember/controller_generator.rb
@@ -4,10 +4,10 @@ module Ember
module Generators
class ControllerGenerator < ::Rails::Generators::NamedBase
source_root File.expand_path("../../templates", __FILE__)
-
+
desc "Creates a new Ember.js controller"
class_option :array, :type => :boolean, :default => false, :desc => "Create an Ember.ArrayController to represent multiple objects"
-
+
def create_controller_files
file_path = File.join('app/assets/javascripts/ember/controllers', class_path, "#{file_name}_controller.js")
if options.array?

0 comments on commit 51f1f2b

Please sign in to comment.