lib/rails/generators/chlorine/config/config_generator.rb in chlorine-0.1.2 vs lib/rails/generators/chlorine/config/config_generator.rb in chlorine-0.1.4
- old
+ new
@@ -1,17 +1,9 @@
module Chlorine
module Generators
class ConfigGenerator < Rails::Generators::Base
desc 'Creates a Chlorine configuration file at config/chlorine.yml'
- def self.source_root
- @_mongoid_source_root ||= File.expand_path('../templates', __FILE__)
- end
-
- def app_name
- Rails::Application.subclasses.first.parent.to_s.underscore
- end
-
def create_config_file
template 'chlorine.yml', File.join('config', 'chlorine.yml')
end
end
\ No newline at end of file