NoMethodError in Detalle#show

Showing C:/Bitnami/rubystack-2.3.8/projects/educacion3002/app/views/shared/_header.html.erb where line #667 raised:

undefined method `gsub' for nil:NilClass

Trace of template inclusion: app/views/layouts/application.html.erb

Rails.root: C:/Bitnami/rubystack-2.3.8/projects/educacion3002

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"locale"=>"es",
 "id"=>"Estrategias-de-Log%C3%ADstica-y-de-Distribuci%C3%B3n-de-Mercanc%C3%ADas"}

Response

Headers:

None