Skip to content

Firefly III: a personal finances manager

New controller for rules.

James Cole70ed4188b6f7
diff --git a/app/Http/Controllers/RuleController.php b/app/Http/Controllers/RuleController.php
new file mode 100644
index 0000000000..99dc3b75f3
--- /dev/null
+++ b/app/Http/Controllers/RuleController.php
@@ -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');
+ }
+}