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
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
* Nested select: get association class from reflect_on_association AR method [#369](https://github.com/platanus/activeadmin_addons/pull/368)
* Datepicker options not overriding default options properly [#368](https://github.com/platanus/activeadmin_addons/pull/368)
* Invalid default datepicker type for pure Formtastic forms [#367](https://github.com/platanus/activeadmin_addons/pull/367)
* Tag builder generating wrong path with nested resources.

### 1.8.3

Expand Down
2 changes: 1 addition & 1 deletion lib/activeadmin_addons/addons/tag_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def interactive_params(klass)
'data-model' => class_name,
'data-object_id' => model.id,
'data-field' => attribute,
'data-url' => context.resource_path(model),
'data-url' => resource_url,
'data-value' => data
}
end
Expand Down