Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Naming with hyphens? #20

Closed
Closed

Description

@christianmagill

I see the naming strategy has been changed.

How do you name controllers whose templates include hyphens? For example template-faq.blade.php

Thanks

Activity

  1. christianmagill commented on May 15, 2017

    @christianmagill
    Author

    Additionally what does the class name become? Thanks

  2. darrenjacoby commented on May 15, 2017

    @darrenjacoby
    Member

    Hi @christianmagill,

    You can use the original naming or the new naming.

    The filename and classname for the example you gave would be TemplateFaq.php and classname TemplateFaq

    Essentially it works with camel case now as well.

  3. christianmagill commented on Jul 27, 2017

    @christianmagill
    Author

    I'm having trouble getting camel case to work in a project. Using latest Sage.

    template-products.blade.php
    TemplateProducts.php
    class TemplateProducts

    body-classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions