Skip to content

Commit

Permalink
fix url to root_url
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienMLD committed Jan 13, 2025
1 parent 67917a4 commit cddcbd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/admin/cooperation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
row(:logo) do |i|
display_logo(name: i.logo&.filename, path: "cooperations/") if i.logo.present?
end
row :url
row :root_url
row :display_url
row :mtm_campaign
row(:landings) do |c|
Expand All @@ -58,7 +58,7 @@
end

permit_params :name,
:logo_id, :mtm_campaign, :url, :display_url,
:logo_id, :mtm_campaign, :root_url, :display_url,
:institution_id, landing_ids: []

form do |f|
Expand All @@ -77,7 +77,7 @@
search_fields: [:slug]
}

f.input :url
f.input :root_url
f.input :display_url
f.input :mtm_campaign
end
Expand Down

0 comments on commit cddcbd5

Please sign in to comment.