Is there is simpler way to write this ruby code:
if @canonical_url
@canonical_url
else
request.original_url
end
Is there is simpler way to write this ruby code:
if @canonical_url
@canonical_url
else
request.original_url
end