Skip to content

Commit

Permalink
add linkable titles
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed May 9, 2024
1 parent fae39c4 commit 8beb1ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/3.0/associations/has_many.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ field :projects, as: :has_many

<!-- @include: ./../common/search_query_scope_common.md-->


:::option `linkable`
You can add use this option to make the association title clickable. That link will open a new page with the same view.

This feature doesn't go deeper than this. It just helps you see the association table easier in a separate page.

![](/assets/img/3_0/has_many/linkable.gif)
:::

## Has Many Through

The `HasMany` association also supports the `:through` option.
Expand Down
Binary file added docs/public/assets/img/3_0/has_many/linkable.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8beb1ba

Please sign in to comment.