Commit 07bf49f
committed
Always construct ajax url based on resource collection path
No need to fall back to constructing it via `polymorphic_path` since
if we cannot fine the admin resource to get `route_collection_path`,
we will also not be able to use to determine `ajax_resource_class`.1 parent d1eb35a commit 07bf49f
1 file changed
+5
-13
lines changedLines changed: 5 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
61 | 53 | | |
62 | 54 | | |
63 | 55 | | |
| |||
0 commit comments