class DecisionsController < ApplicationController
  def show
    decision = co.decisions.find(params[:id])
    redirect_to proposal_path(decision.proposal)
  end
end

class DecisionsController < ApplicationController
  def show
    decision = co.decisions.find(params[:id])
    if decision.proposal.is_a?(Resolution)
      redirect_to resolution_path(decision.proposal)
    else
      redirect_to proposal_path(decision.proposal)
    end
  end
end

Handle resolution type better in DecisionsController.
Handle resolution type better in DecisionsController.
