diff options
Diffstat (limited to 'doc/code/classes/LabelsController.html')
-rw-r--r-- | doc/code/classes/LabelsController.html | 180 |
1 files changed, 180 insertions, 0 deletions
diff --git a/doc/code/classes/LabelsController.html b/doc/code/classes/LabelsController.html new file mode 100644 index 00000000000..53d54c6bbb0 --- /dev/null +++ b/doc/code/classes/LabelsController.html @@ -0,0 +1,180 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>LabelsController</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" /> +<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" /> +<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" /> +<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script> +<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script> +<script src="../js/main.js" type="text/javascript" charset="utf-8"></script> +<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script> + +</head> + +<body> + <div class="banner"> + + <h1> + <span class="type">Class</span> + LabelsController + + <span class="parent">< + + <a href="ProjectResourceController.html">ProjectResourceController</a> + + </span> + + </h1> + <ul class="files"> + + <li><a href="../files/app/controllers/labels_controller_rb.html">app/controllers/labels_controller.rb</a></li> + + </ul> + </div> + <div id="bodyContent"> + <div id="content"> + + + + + + + + + + + + + + + <!-- Method ref --> + <div class="sectiontitle">Methods</div> + <dl class="methods"> + + <dt>I</dt> + <dd> + <ul> + + + <li> + <a href="#method-i-index">index</a> + </li> + + </ul> + </dd> + + <dt>M</dt> + <dd> + <ul> + + + <li> + <a href="#method-i-module_enabled">module_enabled</a> + </li> + + </ul> + </dd> + + </dl> + + + + + + + + + + + + + + + + + + + <!-- Methods --> + + <div class="sectiontitle">Instance Public methods</div> + + <div class="method"> + <div class="title method-title" id="method-i-index"> + + <b>index</b>() + + <a href="../classes/LabelsController.html#method-i-index" name="method-i-index" class="permalink">Link</a> + </div> + + + <div class="description"> + + </div> + + + + + + + <div class="sourcecode"> + + <p class="source-link"> + Source: + <a href="javascript:toggleSource('method-i-index_source')" id="l_method-i-index_source">show</a> + + </p> + <div id="method-i-index_source" class="dyn-source"> + <pre><span class="ruby-comment"># File app/controllers/labels_controller.rb, line 9</span> +<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">index</span> + <span class="ruby-ivar">@labels</span> = <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues_labels</span>.<span class="ruby-identifier">order</span>(<span class="ruby-string">'count DESC'</span>) +<span class="ruby-keyword">end</span></pre> + </div> + </div> + + </div> + + <div class="sectiontitle">Instance Protected methods</div> + + <div class="method"> + <div class="title method-title" id="method-i-module_enabled"> + + <b>module_enabled</b>() + + <a href="../classes/LabelsController.html#method-i-module_enabled" name="method-i-module_enabled" class="permalink">Link</a> + </div> + + + <div class="description"> + + </div> + + + + + + + <div class="sourcecode"> + + <p class="source-link"> + Source: + <a href="javascript:toggleSource('method-i-module_enabled_source')" id="l_method-i-module_enabled_source">show</a> + + </p> + <div id="method-i-module_enabled_source" class="dyn-source"> + <pre><span class="ruby-comment"># File app/controllers/labels_controller.rb, line 15</span> +<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">module_enabled</span> + <span class="ruby-keyword">return</span> <span class="ruby-identifier">render_404</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project</span>.<span class="ruby-identifier">issues_enabled</span> +<span class="ruby-keyword">end</span></pre> + </div> + </div> + + </div> + </div> + + </div> + </body> +</html>
\ No newline at end of file |