fixed route matchers for rails 4