lib/generators/jinda/config_generator.rb in jinda-0.4.5 vs lib/generators/jinda/config_generator.rb in jinda-0.4.6
- old
+ new
@@ -41,22 +41,10 @@
}
end
end
- # gem 'ckeditor', github: 'galetahub/ckeditor'
- # rails generate ckeditor:install --orm=mongoid --backend=paperclip
- desc "Set up setup_ckeditor config"
- def setup_ckeditor
- initializer "ckeditor.rb" do
- %q{# gem 'ckeditor', github: 'galetahub/ckeditor'
- Ckeditor.setup do |config|
- require 'ckeditor/orm/mongoid'
- end
- }
- end
- end
desc "Set up mongoid config"
def setup_mongoid
generate "mongoid:config"
inject_into_file 'config/mongoid.yml', :after => ' # raise_not_found_error: true' do
@@ -77,10 +65,9 @@
end
end
def finish
puts " configured omniauth.\n"
- puts " configured setup_ckeditor.\n"
puts " configured Mongoid.\n"
puts "\n"
puts " To set user/password as admin/secret run:\n"
puts "-----------------------------------------\n"
puts "rails jinda:seed\n"