Support the ongoing development of Laravel.io →

shepparddigital

Joined 20 Feb 2016

Statistics

Threads 3
Replies 3
Solutions 0
Articles 0

Unit tests generating HTTPNotFoundExceptions

I'm trying to setup some unit tests for an application/api I'm building in Laravel. For some reason...

0 Likes
0 Replies

Redirecting from inside a custom class

In the constructor method of my controllers I have a line similar to the following; AdminHelper::use...

0 Likes
3 Replies

one to many relationship returning empty

I've setup a basic one to many relationship, linking users to addresses. /** * User Model * * @pr...

0 Likes
2 Replies
replied 8 years ago

Redirecting from inside a custom class

I figured it out; if ($hasPermissions != true) { redirect()->to('/admin/error')->send(); }

0 Likes
replied 8 years ago

Redirecting from inside a custom class

I know, I don't want to as it's the controllers constructor method that's calling in the userHasPerm...

0 Likes
replied 8 years ago
0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.