Skip to content

Make the wp-connector gem mountable #36

@cies

Description

@cies

Therefor it needs to be namespaced and made into a Rails Engine (if it is not already).

In oder to map the WP_TYPE property to our models in Rails we can do a trick: find all classes that mix in WpCache and pull their mandatory ModelName::WP_TYPE property.

This way the WpConnectorController does no longer need to be made manually, but is supplied by the gem and merely needs to be mounted in the base app.

@tolgap this is what you meant right?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions