rails 4 doesn't generate public/index.html
use specific request methods instead of 'match' (which is removed from Rails 4)