Skip to content
Snippets Groups Projects
Commit 9a55f9e8 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

contexts

parent 28606e54
No related branches found
No related tags found
No related merge requests found
<%
localization = about
event = localization.about
language = localization.language
website = event.website
path = admin_communication_website_agenda_event_path(website_id: website.id, id: event.id)
target ||= ''
link = "#{path}#{target}"
%>
<%= render 'admin/communication/medias/contexts/default',
localization: localization,
link: link,
type: Communication::Website::Agenda::Event.model_name.human %>
<%
localization = about
project = localization.about
language = localization.language
website = project.website
path = admin_communication_website_portfolio_projet_path(website_id: website.id, id: project.id)
target ||= ''
link = "#{path}#{target}"
%>
<%= render 'admin/communication/medias/contexts/default',
localization: localization,
link: link,
type: Communication::Website::Portfolio::Project.model_name.human %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment