ActiveRecord::RecordNotFound in ThongbaosController#show

ActiveRecord::RecordNotFound

Extracted source (around line #3):
1
2
3
4
5
6
              
class ThongbaosController < HomeController
def show
@thongbao = Thongbao.find(params[:id])
set_meta_tags keywords: @thongbao.tieude
set_meta_tags description: @thongbao.tomtat
end

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"thong-bao-v-vi-c-ti-p-dan-c-p-can-c-c-cong-dan-ngoai-gi-hanh-chinh"}

Response

Headers:

None