Skip to content

Commit

Permalink
Fixed hard coded url
Browse files Browse the repository at this point in the history
  • Loading branch information
poppabear8883 committed Dec 12, 2017
1 parent c5f71b9 commit 992f19e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/ShoutboxController.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ public function fetch()

if (Auth::user()->group->is_modo) {
$flag = true;
$delete = '<a title="Delete Shout" href=\'https://blutopia.xyz/shoutbox/delete/' .$messages->id. '\'><i class="pull-right fa fa-lg fa-times"></i></a>';
$appurl = env('APP_URL', 'http://unit3d.site');
$delete = '<a title="Delete Shout" href=\''.$appurl.'/shoutbox/delete/' .$messages->id. '\'><i class="pull-right fa fa-lg fa-times"></i></a>';
} else {
$flag = true;
$delete = '';
Expand Down

0 comments on commit 992f19e

Please sign in to comment.