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.

Not working out of the box with Sage 10 #25

@timbriteweb

Description

@timbriteweb

I'm using Sage 10 for the first time and Models isn't working as expected out of the box. I had to use the following to get it working:

add_filter('sober/models/path', function () { return get_stylesheet_directory() . '/app/models'; });

I believe the issue is because the theme root for Sage 10 is no longer /resources as it was in version 9. Not sure how to check for the version of Sage, but I would recommend adding that in if possible to make Models future-friendly!

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