class Doorkeeper::InstallGenerator


Setup doorkeeper into Rails application: locales, routes, etc.

def install

def install
  template "initializer.rb", "config/initializers/doorkeeper.rb"
  copy_file File.expand_path("../../../config/locales/en.yml", __dir__),
            "config/locales/doorkeeper.en.yml"
  route "use_doorkeeper"
  readme "README"
end