diff --git a/index.html b/index.html
index af3dac96f..1cd4c06af 100644
--- a/index.html
+++ b/index.html
@@ -248,7 +248,7 @@
app/controllers/articles_controller.rb
private
def article_params
- params.require(:article).permit(:title, :content)
+ params.expect(article: [ :title, :content ])
end
end
{% endhighlight %}