Sha256: 0b977b0b2ff85f35205ceca41552926e40002c61c91b5da1507576c0b22c41a3

Contents?: true

Size: 238 Bytes

Versions: 4

Compression:

Stored size: 238 Bytes

Contents

class Theblog::InstallGenerator < Rails::Generators::Base
  def install
    route "mount Theblog::Engine => '/blog'"
    route "mount Incarnator::Engine => '/auth'"

    append_to_file "db/seeds.rb", "Theblog::Engine.load_seed"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
theblog-0.0.2.3 lib/generators/theblog/install/install_generator.rb
theblog-0.0.2.2 lib/generators/theblog/install/install_generator.rb
theblog-0.0.2.1 lib/generators/theblog/install/install_generator.rb
theblog-0.0.2 lib/generators/theblog/install/install_generator.rb