Sha256: e05e754166aece5a290530f21e02bdccd8781c1ff914600f18e73df96afd25c4
Contents?: true
Size: 406 Bytes
Versions: 4
Compression:
Stored size: 406 Bytes
Contents
module UeditorRails class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc "Mount Engine and copy config file to Rails app." def copy_config_file template "ueditor_config.js.erb", "app/assets/javascripts/ueditor_config.js.erb" end def mount_engine route "mount UeditorRails::Engine => '/ueditor'" end end end
Version data entries
4 entries across 4 versions & 2 rubygems