Skip to content

How to render hash #107

@sudeeptarlekar

Description

@sudeeptarlekar

So I have this basic configuration hash as follows

{
  footer_text: 'CopyRight',
  footer_color: '#FFF',
  footer_logo: '#s3_image_path'
}

Now I want to send this hash as a json using JSONAPI. But every time I am getting error while rendering this. Tried with adding a serializer also but that didn't worked. Here is complete code.

What am I missing here or how can I render a hash using JSONAPI in rails?

Thanks in advance

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