+ Start a Discussion
michelle emanuel 59michelle emanuel 59 

Using Apex Components

You cannot save using an apex class with the name DisplayCaseController. If I rename the controller or apex clas then I can save it but I do not pass the trailhead but if I use the name "Controller" it will not save in the component.
 
<aura:component controller="DisplayCaseController" >
    <aura:attribute name="record" type="Case"/>
    <p>{!v.record.Subject}</p>
    <p>{!v.record.Description}</p>
    <p>{!v.record.Status}</p>
</aura:component>