Change before_filter to before_action - Rails 4 syntax