From 34cac41d2951ad39d1d1f20f933382303ecad897 Mon Sep 17 00:00:00 2001 From: Stef Schenkelaars Date: Wed, 15 Apr 2020 16:37:49 +0200 Subject: [PATCH] Fix admin launches examples --- Gemfile.lock | 2 +- app/dashboards/tool_dashboard.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e942dad..d7598d3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -290,7 +290,7 @@ DEPENDENCIES webmock RUBY VERSION - ruby 2.7.0p0 + ruby 2.7.1p83 BUNDLED WITH 2.1.4 diff --git a/app/dashboards/tool_dashboard.rb b/app/dashboards/tool_dashboard.rb index e739d35..a6a2ab4 100644 --- a/app/dashboards/tool_dashboard.rb +++ b/app/dashboards/tool_dashboard.rb @@ -20,7 +20,7 @@ class ToolDashboard < Administrate::BaseDashboard target_link_uri: Field::String, created_at: Field::DateTime, updated_at: Field::DateTime, - launches: LaunchesField + launch_url: LaunchesField }.freeze # COLLECTION_ATTRIBUTES @@ -48,7 +48,7 @@ class ToolDashboard < Administrate::BaseDashboard target_link_uri created_at updated_at - launches + launch_url ].freeze # FORM_ATTRIBUTES