New controller for rules.

This commit is contained in:
James Cole 2016-01-11 20:41:57 +01:00
parent d889094863
commit 70ed4188b6

View File

@ -0,0 +1,34 @@
<?php
/**
* RuleController.php
* Copyright (C) 2016 Sander Dorigo
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace FireflyIII\Http\Controllers;
use FireflyIII\Http\Requests;
use View;
/**
* Class RuleController
*
* @package FireflyIII\Http\Controllers
*/
class RuleController extends Controller
{
public function __construct()
{
parent::__construct();
View::share('title', trans('firefly.rules'));
View::share('mainTitleIcon', 'fa-random');
}
public function index()
{
return view('rules.index');
}
}