Skip to content

Commit

Permalink
revisi code
Browse files Browse the repository at this point in the history
  • Loading branch information
varid007 committed May 3, 2012
1 parent 3541a17 commit 19266c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion belajar/app/controllers/articles_controller.rb
Expand Up @@ -5,7 +5,7 @@ def index
end end


def create def create
@article = Article.new(params[:id]) @article = Article.new(params[:article])
if @article.save if @article.save


redirect_to articles_path redirect_to articles_path
Expand Down

0 comments on commit 19266c0

Please sign in to comment.