rail 4 routes
fixing typo
Merge pull request #45 from noahpryor/master

Adds :via => to routes for rails 4 compatability