This would cause a syntax error if the controller was loaded, due to the semicolon instead of a colon. Also, avoid using non-boolean values directly in if/else checks -- instead use methods that return boolean values, like `params[:direction].present?`, to reveal your intention.