doc/classes/UserHelper.src/M000407.html in backlog-0.7.9 vs doc/classes/UserHelper.src/M000407.html in backlog-0.7.10

- old
+ new

@@ -3,16 +3,16 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>user_id (UserHelper)</title> + <title>user (UserHelper)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> - <pre><span class="ruby-comment cmt"># File app/helpers/user_helper.rb, line 41</span> - <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">user_id</span> - <span class="ruby-identifier">session</span>[<span class="ruby-identifier">:user_id</span>] + <pre><span class="ruby-comment cmt"># File app/helpers/user_helper.rb, line 49</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">user</span> + <span class="ruby-constant">User</span>.<span class="ruby-identifier">find_by_id</span>(<span class="ruby-identifier">user_id</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">user_id</span> <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file