Skip to content

Is there a way to expose scoped associations in json? #131

@zackperdue

Description

@zackperdue

Is it possible to do something like this?

  def action 
        expose Team.find(params[:id]), include: :players.offensive
  end

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