Update articles_controller.rb

For those method, (:diff, :revert, :version), the @article instance is nil so @article.diff and other function crash.