Sha256: 3eea5771cbc7f7e5175c7f8d01bf4c4b4799132f9f21d81a714546f29ac78253
Contents?: true
Size: 808 Bytes
Versions: 27
Compression:
Stored size: 808 Bytes
Contents
module Carnival module Generators class InstallGenerator < Rails::Generators::Base desc "Install the Carnival Engine" source_root File.expand_path("../templates", __FILE__) def install route "mount_carnival_at 'admin'" rake 'carnival_engine:install:migrations' template "../../../../config/locales/carnival.en.yml", "config/locales/carnival.en.yml" template "../../../../config/locales/carnival.pt-br.yml", "config/locales/carnival.pt-br.yml" template "../../../../config/locales/devise.pt-br.yml", "config/locales/devise.pt-br.yml" template "../../../../config/locales/devise.en.yml", "config/locales/devise.en.yml" template "carnival_initializer.rb", "config/initializers/carnival_initializer.rb" end end end end
Version data entries
27 entries across 27 versions & 1 rubygems