%# Use this partial with <% render partial: this, locals: { content_type: Character } %> <% content_name = content_type.name.downcase %> <%= link_to send("#{content_name}_worldbuilding_info_path"), class: 'black-text' do %>
<%= t("content_descriptions.#{content_name}") %>