Skip to content

Commit

Permalink
fixing name of config generator method
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Apr 19, 2010
1 parent 1b992d4 commit f7b63a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/nifty/config/config_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Generators
class ConfigGenerator < Base
argument :config_name, :type => :string, :default => 'app', :banner => 'config_name'

def create_layout
def create_config
template "load_config.rb", "config/initializers/load_#{file_name}_config.rb"
copy_file "config.yml", "config/#{file_name}_config.yml"
end
Expand Down

0 comments on commit f7b63a4

Please sign in to comment.