diff options
author | Andrew8xx8 <avk@8xx8.ru> | 2013-03-25 20:32:10 +0400 |
---|---|---|
committer | Andrew8xx8 <avk@8xx8.ru> | 2013-03-25 20:32:10 +0400 |
commit | e0af7cefb4c92b474d14116b40927d70c13e78cc (patch) | |
tree | ccb7693aca553fc73fdd06daba262ed02f755efe /app/controllers/snippets_controller.rb | |
parent | 03de5a5ceea394e03120dcda709058fb0f2c1ab6 (diff) | |
download | gitlab-ce-e0af7cefb4c92b474d14116b40927d70c13e78cc.tar.gz |
Typos fixed
Diffstat (limited to 'app/controllers/snippets_controller.rb')
-rw-r--r-- | app/controllers/snippets_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb index 7c96b82379c..70525beea15 100644 --- a/app/controllers/snippets_controller.rb +++ b/app/controllers/snippets_controller.rb @@ -31,11 +31,11 @@ class SnippetsController < ApplicationController end def new - @snippet = PersonalSnippet.build + @snippet = PersonalSnippet.new end def create - @snippet = PersonalSnippet.build(params[:personal_snippet]) + @snippet = PersonalSnippet.new(params[:personal_snippet]) @snippet.author = current_user if @snippet.save |