discourse/discourse — pull request #1662 by iamrahulroy (2013-11-17 11:08:42+00:00)
Title: Rails4: Replaced before_filter with before_action

As per Rails 4 guidelines before_filter should be replaced with before_action.

Source: https://github.com/rails/rails/commit/9d62e04838f01f5589fa50b0baa480d60c815e2c

PS: Sorry about number of commits, I had to use github's online interface to edit these files.