Skip to content

Cannot disable rorviswild for a given route/action #32

@leewaa

Description

@leewaa

I have a conflict with swagger documentation that I have built into my Rails app. rorvswild overrides styles which prevent highlighting selected text within json bodies of swagger ui.

I tried using ignore_requests for the specific controller and action however this does not seem to do anything. I ensured that I configured it correctly.

e.g.

development:
  ignore_requests:
    - Admin::ApiDocsController#file
    - Admin::ApiDocsController#index

However the widget still appears and it loads all related assets into the DOM. Is this an error on my part or is something lacking hear?

I would like to completely disable rorvswild for a specific route so that nothing at all is added to the dom.

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