These `if` statements are questionable, since the nested routing means that if you've managed to reach any of the actions in this controller, there must be an `author_id` and `article_id`. If there somehow weren't, that might be considered an error condition where you'd want to fail loudly instead of ignoring it.