Permalink
Browse files

revisi code

  • Loading branch information...
1 parent 3541a17 commit 19266c04a58274a4d19d510dbc8ce632c0f6051f @varid007 committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 belajar/app/controllers/articles_controller.rb
@@ -5,7 +5,7 @@ def index
end
def create
- @article = Article.new(params[:id])
+ @article = Article.new(params[:article])
if @article.save
redirect_to articles_path

0 comments on commit 19266c0

Please sign in to comment.