Completed
Pull Request — master (#28)
by Marcos
02:40
created

RepositoriesController::update()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
/**
3
 * GitScrum v0.1.
4
 *
5
 * @author  Renato Marinho <[email protected]>
6
 * @license http://opensource.org/licenses/GPL-3.0 GPLv3
7
 */
8
namespace GitScrum\Http\Controllers;
9
10
use GitScrum\Classes\Github;
11
12
class RepositoriesController extends Controller
13
{
14
    public function update()
15
    {
16
        $github = new Github();
17
        $github->repositories();
18
19
        return redirect()->route('user.dashboard')
20
            ->with('success', _('Updated successfully'));
21
    }
22
}
23