summaryrefslogtreecommitdiff
path: root/app/controllers/snippets_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-24 22:36:44 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-24 22:36:44 +0200
commit292a41cbe295f16f7148913b31eb0fb91f3251c3 (patch)
tree65dc09de8a317b080a96e29770de91c7cd02d79a /app/controllers/snippets_controller.rb
parentd41d8ffb02fa74fd4571603548bd7e401ec99e0c (diff)
downloadgitlab-ce-292a41cbe295f16f7148913b31eb0fb91f3251c3.tar.gz
Fixed comments for snippets. Tests fixed
Diffstat (limited to 'app/controllers/snippets_controller.rb')
-rw-r--r--app/controllers/snippets_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb
index ec1adeaa66f..bfcfda0fc71 100644
--- a/app/controllers/snippets_controller.rb
+++ b/app/controllers/snippets_controller.rb
@@ -55,7 +55,6 @@ class SnippetsController < ApplicationController
end
def show
- @notes = @snippet.notes
@note = @project.notes.new(:noteable => @snippet)
render_full_content
end