use get instead of match for rails 4
Merge pull request #29 from flyerhzm/rails-4

use get instead of match for rails 4