completion-kit 0.25.1 → 0.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c34f74519434a51e3ad3d4d8a7e2fda2263a079747d5047218ef69430f57966
|
|
4
|
+
data.tar.gz: e6d6ddf03c6ba44f09cf4e2b1f75f97b6a1182f55326c006db18a863fd04b1c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a44106f41afe54ca68aec5386df1c198309e4cd25866fbd76bc04a3af260db9d139c408d161a89bd7b262a18847c2153eaa1b5f4f0682ec0c2a4067eafac312
|
|
7
|
+
data.tar.gz: 79e9107c563b8a499357c09c9f651cceea68a6261f4060ee539792161ef1529f13d920133c6215d6822bb875a6ce34d2c3e1ccd15e80e2fa037a9c93f5a4a756
|
|
@@ -270,7 +270,7 @@ module CompletionKit
|
|
|
270
270
|
# The engine's url_helpers won't read them out of the nested recall hash to
|
|
271
271
|
# satisfy a required segment — they have to arrive as explicit kwargs.
|
|
272
272
|
def ck_engine_path_options
|
|
273
|
-
(url_options[:_recall] || {}).except(:controller, :action)
|
|
273
|
+
(url_options[:_recall] || {}).except(:controller, :action, :id, :format)
|
|
274
274
|
end
|
|
275
275
|
|
|
276
276
|
def ck_format_maybe_json(text)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<h1 class="ck-title"><%= @dataset.name %></h1>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="ck-actions">
|
|
11
|
-
<%= link_to "Download CSV", dataset_path(@dataset, format: :csv), class: ck_button_classes(:light, variant: :outline) %>
|
|
11
|
+
<%= link_to "Download CSV", dataset_path(@dataset, format: :csv, **ck_engine_path_options), class: ck_button_classes(:light, variant: :outline) %>
|
|
12
12
|
<%= link_to "Edit", edit_dataset_path(@dataset), class: ck_button_classes(:light, variant: :outline) %>
|
|
13
13
|
</div>
|
|
14
14
|
</section>
|