NoMethodError in Passeios#detalhe

Showing /app/app/views/passeios/detalhe.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><%=@passeio.titulo[I18n.locale]%> - Paraty Tours</title>
<meta name="keywords" content="<%=@passeio._keywords.join(',')%>" />
<meta name="description" content="<%=strip_tags(@passeio.descricao[I18n.locale].to_s)[0...155]%>">
<%= 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"=>"en",
 "slug"=>"cultural",
 "slug_passeio"=>"city-tour"}

Response

Headers:

None