Welcome Guest, Not a member yet? Register   Sign In
Ion Auth : Keeping it organized.
#1

[eluser]austintbiggs[/eluser]
I’m trying to keep my views organized into subfolders [views/auth, views/admin, etc..] and so I’m trying to get my “admin.php” controller to (I guess) “extend” ion auth; by simply calling it’s functions and adding my own from a separate controller (dashboard.php). How would I do this without putting views/auth into views/dashboard?

Thanks.
#2

[eluser]Ben Edmunds[/eluser]
You should extend the controller class. Phil Sturgeon has a good article on this here: http://philsturgeon.co.uk/blog/2010/02/C...ing-it-DRY




Theme © iAndrew 2016 - Forum software by © MyBB