class Theblog::InstallGenerator

Public Instance Methods

install() click to toggle source
# File lib/generators/theblog/install/install_generator.rb, line 2
def install
  route "mount Theblog::Engine => '/blog'"
  route "mount Incarnator::Engine => '/auth'"

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