NoMethodError in Transfers#destino

Showing /app/app/views/transfers/destino.html.erb where line #2 raised:

undefined method `titulo' for nil:NilClass
Extracted source (around line #2):
1
2
3
4
5
6
              
<% content_for :for_header do %>
<title><%=@conteudo.titulo[I18n.locale]%> - Paraty Tours</title>
<meta name="keywords" content="<%= I18n.t('seo.k_regular')%>" />
<meta name="description" content="<%= I18n.t('seo.t_regular')%>">
<%= stylesheet_link_tag 'blog', media: 'all', 'data-turbolinks-track' => true %>
<%= stylesheet_link_tag 'slider-pro.min', media: 'all', 'data-turbolinks-track' => true %>

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"format"=>"html",
 "locale"=>"pt-BR",
 "slug_destino"=>"transfer-angra-dos-reis-x-rio-de-janeiro"}

Response

Headers:

None