class Annotot::Install

Install generator

Public Instance Methods

add_routes() click to toggle source
# File lib/generators/annotot/install_generator.rb, line 5
def add_routes
  route "mount Annotot::Engine => '/'"
end
run_annotot_migrations() click to toggle source
# File lib/generators/annotot/install_generator.rb, line 9
def run_annotot_migrations
  rake 'annotot:install:migrations'
  rake 'db:migrate'
end