update routes for rails4
Merge pull request #6 from idgetto/master

update routes for rails4