Replaced before_filter with before_action in post_actions_controller.rb