doc/classes/TasksController.src/M000116.html in backlog-0.7.12 vs doc/classes/TasksController.src/M000116.html in backlog-0.8.0

- old
+ new

@@ -8,10 +8,10 @@ <title>finish (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 186</span> + <pre><span class="ruby-comment cmt"># File app/controllers/tasks_controller.rb, line 191</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">finish</span> <span class="ruby-ivar">@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-ivar">@task</span>.<span class="ruby-identifier">finish</span>(<span class="ruby-constant">Task</span><span class="ruby-operator">::</span><span class="ruby-constant">COMPLETED</span>, <span class="ruby-keyword kw">true</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">'periods'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:show</span>, <span class="ruby-identifier">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@task</span>.<span class="ruby-identifier">period</span>, <span class="ruby-identifier">:task_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@task</span>.<span class="ruby-identifier">id</span> <span class="ruby-keyword kw">end</span></pre> \ No newline at end of file