Commit 001df29
fix application_helper#bulk_menu for overriding abstract_model
When using the helper method `bulk_menu` for a model that is not the current
`@abstract_model` the helper incorrectly gets the wording for the instance
variable instead of passing the passed variable through.1 parent 482b5ac commit 001df29
2 files changed
Lines changed: 17 additions & 4 deletions
File tree
- app/helpers/rails_admin
- spec/helpers/rails_admin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
360 | 367 | | |
| 368 | + | |
361 | 369 | | |
| 370 | + | |
362 | 371 | | |
363 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
364 | 377 | | |
365 | 378 | | |
366 | 379 | | |
| |||
0 commit comments