Sha256: 6bf64d8090823cf72b61da038d1f9d9b047c97b4bf6920fbc438e6df976903cb

Contents?: true

Size: 1.14 KB

Versions: 10

Compression:

Stored size: 1.14 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>current_user= (UserSystem)</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 lib/user_system.rb, line 75</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_user=</span> <span class="ruby-identifier">user</span>
    <span class="ruby-identifier">session</span>[<span class="ruby-identifier">:user_id</span>] = <span class="ruby-identifier">user</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
    <span class="ruby-constant">Thread</span>.<span class="ruby-identifier">current</span>[<span class="ruby-identifier">:user</span>] = <span class="ruby-identifier">user</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
backlog-0.7.10 doc/classes/UserSystem.src/M000463.html
backlog-0.7.10 doc/classes/UserSystem.src/M000457.html
backlog-0.7.12 doc/classes/UserSystem.src/M000457.html
backlog-0.7.12 doc/classes/UserSystem.src/M000463.html
backlog-0.7.9 doc/classes/UserSystem.src/M000459.html
backlog-0.7.9 doc/classes/UserSystem.src/M000453.html
backlog-0.8.0 doc/classes/UserSystem.src/M000469.html
backlog-0.8.0 doc/classes/UserSystem.src/M000463.html
backlog-0.8.1 doc/classes/UserSystem.src/M000469.html
backlog-0.8.1 doc/classes/UserSystem.src/M000463.html