summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-25 20:32:10 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-25 20:32:10 +0400
commite0af7cefb4c92b474d14116b40927d70c13e78cc (patch)
treeccb7693aca553fc73fdd06daba262ed02f755efe /app/controllers
parent03de5a5ceea394e03120dcda709058fb0f2c1ab6 (diff)
downloadgitlab-ce-e0af7cefb4c92b474d14116b40927d70c13e78cc.tar.gz
Typos fixed
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/snippets_controller.rb4
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