Skip to content

Userstamp not being saved with API controller #36

@bennyzr

Description

@bennyzr

Hi,

Using an API controller that does not inherit from ApplicationController the userstamps will not get saved to database unless I add "before_action :authenticate_user_from_token!, :set_stamper trigger to the API controller.

Even with this trigger the saved model is not getting userstamped (though its associated models are) on create and none get userstamped on updates.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions