[RestResourceAction] Remove a code which is mitakenly included in 51bc57c5