Sinatra doesn’t know this ditty.

Try this:
get '/blog/helpful-shortcut-for-php-directory-separator-constant' do
  "Hello World"
end