From 38737079b6c1096c2517e249198b8bc0bedf4156 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 9 Feb 2013 15:26:47 +0200 Subject: ignore docs by git --- doc/code/classes/CommitController.html | 160 --------------------------------- 1 file changed, 160 deletions(-) delete mode 100644 doc/code/classes/CommitController.html (limited to 'doc/code/classes/CommitController.html') diff --git a/doc/code/classes/CommitController.html b/doc/code/classes/CommitController.html deleted file mode 100644 index 5f0bbe9e9f3..00000000000 --- a/doc/code/classes/CommitController.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - CommitController - - - - - - - - - - - - - -
-
- -
- -

Controller for a specific Commit

- -

Not to be confused with CommitsController, plural.

- -
- - - - - - - - - - - - - - - -
Methods
-
- -
S
-
-
    - - -
  • - show -
  • - -
-
- -
- - - - - - - - - - - - - - - - - - - - -
Instance Public methods
- -
-
- - show() - - -
- - -
- -
- - - - - - -
- - -
-
# File app/controllers/commit_controller.rb, line 10
-def show
-  result = CommitLoadContext.new(project, current_user, params).execute
-
-  @commit = result[:commit]
-  git_not_found! unless @commit
-
-  @suppress_diff    = result[:suppress_diff]
-  @note             = result[:note]
-  @line_notes       = result[:line_notes]
-  @notes_count      = result[:notes_count]
-  @comments_allowed = true
-
-  respond_to do |format|
-    format.html do
-      if result[:status] == :huge_commit
-        render "huge_commit" and return
-      end
-    end
-
-    format.diff  { render text: @commit.to_diff }
-    format.patch { render text: @commit.to_patch }
-  end
-end
-
-
- -
-
- -
- - \ No newline at end of file -- cgit v1.2.1