Make them optional.
match '/:action(/:other)', to: redirect('/'), constraints: {action: /properties/, other: [a-zA-Z0-9\/\\]+ }, via: :all
From the doc:
get ':controller(/:action(/:id))'
This route will also route the incoming request of /photos to PhotosController#index, since :action and :id are optional parameters, denoted by parentheses.