Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tag-builder): generating wrong path with nested resources #383

Merged
merged 2 commits into from
Nov 24, 2021

Conversation

ldlsegovia
Copy link
Contributor

ActiveAdmin.register Invoice do
  show do
    attributes_table do
      # ...
    end
    panel 'Documents' do
      table_for user.documents do
        tag_column(:state, intercative: true)
      end
    end
  end
end

Previous code was generating invalid /admin/invoices/:id instead of /admin/documents/:id working with interactive tag column.

Copy link
Contributor

@GabrielLyonB GabrielLyonB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ldlsegovia ldlsegovia merged commit 83f4e9f into master Nov 24, 2021
@ldlsegovia ldlsegovia deleted the fix-nested-interactive-tag branch November 24, 2021 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants