Sha256: 18b0f180104b144f8e7f864c5d2d06747ad6b5210cc381d9d5a3b9c69ff93671

Contents?: true

Size: 1.51 KB

Versions: 4

Compression:

Stored size: 1.51 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>abort (TasksController)</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/controllers/tasks_controller.rb, line 188</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">abort</span>
    <span class="ruby-identifier">task</span> = <span class="ruby-constant">Task</span>.<span class="ruby-identifier">find</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>]
    <span class="ruby-identifier">task</span>.<span class="ruby-identifier">abort</span>(<span class="ruby-identifier">user</span>)
    <span class="ruby-identifier">back_or_redirect_to</span>(<span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;periods&quot;</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;show&quot;</span>, <span class="ruby-identifier">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">task</span>.<span class="ruby-identifier">period</span>)
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
backlog-0.7.10 doc/classes/TasksController.src/M000117.html
backlog-0.7.10 doc/classes/TasksController.src/M000137.html
backlog-0.7.9 doc/classes/TasksController.src/M000117.html
backlog-0.7.9 doc/classes/TasksController.src/M000137.html