s/before_filter/before_action/g for Rails 4 compat
after_filter was also renamed to after_action
Merge pull request #78 from amatsuda/filter_to_action

*_filter was renamed to *_action in Rails 4