Link directly to incidents. Closes #547

This commit is contained in:
James Brooks
2015-08-15 20:54:38 +01:00
parent b037965c35
commit 9a0d823c9a
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ class AtomController extends Controller
$feed->add(
$incident->name,
Setting::get('app_name'),
Str::canonicalize(Setting::get('app_domain')).'#'.$incident->id,
Str::canonicalize(route('incident', ['id' => $incident->id])),
$incident->created_at->toAtomString(),
Markdown::convertToHtml($incident->message)
);

View File

@@ -63,7 +63,7 @@ class RssController extends Controller
$feed->add(
$incident->name,
Setting::get('app_name'),
Str::canonicalize(Setting::get('app_domain')).'#'.$incident->id,
Str::canonicalize(route('incident', ['id' => $incident->id])),
$incident->created_at->toRssString(),
$incident->message
);