From 868907d0ca6bd0e401a385a5212c64d6b8393af0 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Tue, 6 Feb 2018 11:19:14 -0500 Subject: [PATCH] removed repl docs https://github.com/gobuffalo/buffalo/pull/895 --- actions/app.go | 1 + templates/_sidebar.html | 3 --- templates/docs/repl.md | 11 ----------- 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 templates/docs/repl.md diff --git a/actions/app.go b/actions/app.go index be1721239..f784239c4 100644 --- a/actions/app.go +++ b/actions/app.go @@ -70,6 +70,7 @@ func App() *buffalo.App { }) app.Redirect(302, "/docs/overview", "/") + app.Redirect(302, "/docs/repl", "/") app.Redirect(302, "/docs/test-suites", "/docs/testing") app.Redirect(302, "/docs/env-vars", "/docs/config-vars") app.GET("/docs/{name:.+}", Docs) diff --git a/templates/_sidebar.html b/templates/_sidebar.html index e3470dcdf..28951c57b 100644 --- a/templates/_sidebar.html +++ b/templates/_sidebar.html @@ -166,9 +166,6 @@
  • Mailers
  • -
  • - Console/REPL -
  • Plugins
  • diff --git a/templates/docs/repl.md b/templates/docs/repl.md deleted file mode 100644 index b8a0b1e97..000000000 --- a/templates/docs/repl.md +++ /dev/null @@ -1,11 +0,0 @@ -# Console/REPL - -Buffalo wraps the [https://github.com/motemen/gore](https://github.com/motemen/gore) REPL and pre-loads it with the `actions` and `models` packages from your application, should they exist. - -<%= title("Using the Console", {name: "using"}) %> - -```text -$ buffalo console -``` - -