ActiveRecord::RecordNotFound in NewDesktop::PostsController#show

can't find record with friendly id: "tips-to-consider-when-using-counter-drones"

Extracted source (around line #10):
8
9
10
11
12
13
              
def show
@post=Post.find(params[:id])
redirect_to desktop_root_path and return if @post.is_hide?
redirect_to desktop_root_path and return unless @post.is_published
redirect_to desktop_project_path(@post) and return if @post.is_project?

Rails.root: /www/smple_io

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"tips-to-consider-when-using-counter-drones"}

Response

Headers:

None