Sha256: cd80a78afb9b00e924a0f0f50f98528e7986cead60e1c30d76d6af60420fd22d
Contents?: true
Size: 442 Bytes
Versions: 6
Compression:
Stored size: 442 Bytes
Contents
require 'rails/generators' module Redactor3 module Generators class ConfigGenerator < ::Rails::Generators::Base desc 'Generates redactor3_rails config' def self.source_root @source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates')) end def create_config template 'config.js', File.join('app/assets/javascripts/redactor3_rails', 'config.js') end end end end
Version data entries
6 entries across 6 versions & 1 rubygems