ActiveRecord::RecordNotFound in ObjectivesController#show

Couldn't find PlanVersion without an ID

Extracted source (around line #24):
22
23
24
25
26
27
              
# GET /objectives/1.json
def show
@planversion = PlanVersion.find(session[:planversion])
if @objective.linked_objective.present?
@obj = Objective.find(@objective.linked_objective)
redirect_to @obj

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"1425"}

Response

Headers:

None