Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update controller examples #1986

Merged
merged 1 commit into from
Nov 1, 2017
Merged

Conversation

retlehs
Copy link
Member

@retlehs retlehs commented Oct 30, 2017

spurred from https://discourse.roots.io/t/best-practice-resources-for-blade/8341/141?u=benword

regarding the About.php file prior to this PR... it did nothing. ideally you'd create a template-about.php controller and template file, then drop this in the controller:

<?php

namespace App;
use Sober\Controller\Controller;

class TemplateAbout extends Controller
{

}

@robrecord
Copy link

Thank you for this, I was mightily confused!

@retlehs retlehs merged commit 7e9744b into master Nov 1, 2017
@retlehs retlehs deleted the update-controller-default-examples branch November 1, 2017 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants