web.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Web Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register web routes for your application. These
  8. | routes are loaded by the RouteServiceProvider within a group which
  9. | contains the "web" middleware group. Now create something great!
  10. |
  11. | Reminder about typical REST routes
  12. | GET /posts List posts
  13. | GET /posts/create Show a post creation form
  14. | POST /posts Create a post
  15. | GET /posts/{id} Show a post
  16. | GET /posts/{id}/edit Show a post update form
  17. | PATCH /posts/{id} Update a post
  18. | DELETE /posts/{id} Delete a post
  19. |--------------------------------------------------------------------------
  20. */
  21. /** @var \Illuminate\Routing\Router $this */
  22. $this->get('/', 'PostsController@index')
  23. ->name('home');
  24. $this->post('/posts', 'PostsController@store');
  25. $this->get('/posts/create', 'PostsController@create');
  26. $this->get('/posts/{post}', 'PostsController@show');
  27. $this->post('/posts/{post}/comments', 'CommentsController@store');
  28. $this->get('register', 'RegistrationController@create');
  29. $this->post('register', 'RegistrationController@store');
  30. $this->get('login', 'SessionsController@create');
  31. $this->post('login', 'SessionsController@store');
  32. $this->get('logout', 'SessionsController@destroy');
PANIC: session(release): write data/sessions/e/c/ec8431c2b865600f: no space left on device

PANIC

session(release): write data/sessions/e/c/ec8431c2b865600f: no space left on device
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/session@v1.0.3/session.go:204 (0xb13e07)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:80 (0x967b75)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 (0x9512ee)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 (0x951205)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:124 (0x967cc4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:114 (0x967bf6)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/recovery.go:161 (0x15baec4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/logger.go:40 (0x96b257)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:157 (0x9512ee)
/my/cache/.heroku/go/go-path/pkg/mod/github.com/go-macaron/inject@v0.0.0-20200308113650-138e5925c53b/inject.go:135 (0x951205)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/context.go:124 (0x967cc4)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/router.go:187 (0x972959)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/router.go:304 (0x973a01)
/my/cache/.heroku/go/go-path/pkg/mod/gopkg.in/macaron.v1@v1.5.1/macaron.go:218 (0x96c572)
/my/cache/.heroku/go/go1.26.3/go/src/net/http/server.go:3311 (0x85a5cd)
/my/cache/.heroku/go/go1.26.3/go/src/net/http/server.go:2073 (0x837f6f)
/my/cache/.heroku/go/go1.26.3/go/src/runtime/asm_amd64.s:1771 (0x493380)