Sha256: 58327e192b33daacbfb670cc26741a0cea7707899729ab9216f59ca5800ae1c9
Contents?: true
Size: 526 Bytes
Versions: 9
Compression:
Stored size: 526 Bytes
Contents
module RailsKindeditor class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc "Install kindeditor for your application." def copy_kindeditor_files if ::Rails.version < "3.1.0" warn "Warning: rails_kindeditor ~> v0.3.0 only support Rails3.1+!" warn "If you're using rails3.0.x, please check rails_kindeditor v0.2.8" else template "rails_kindeditor.rb", "config/initializers/rails_kindeditor.rb" end end end end
Version data entries
9 entries across 9 versions & 1 rubygems