Refactoring subreddit controller