Reimplements the lines controller action.