diff --git a/app/Track.php b/app/Track.php index 40bdbcfc..2322b221 100644 --- a/app/Track.php +++ b/app/Track.php @@ -9,12 +9,12 @@ use getid3_writetags; use Helpers; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; -use Illuminate\Support\Facades\Auth; -use Illuminate\Support\Facades\Cache; -use Illuminate\Support\Facades\Config; -use Illuminate\Support\Facades\DB; -use Illuminate\Support\Facades\Log; -use Illuminate\Support\Facades\URL; +use Auth; +use Cache; +use Config; +use DB; +use Log; +use URL; use Illuminate\Support\Str; class Track extends Model diff --git a/config/cache.php b/config/cache.php index fa3644f0..80f6bfa7 100644 --- a/config/cache.php +++ b/config/cache.php @@ -74,6 +74,6 @@ return [ | */ - 'prefix' => 'ponyfm', + 'prefix' => 'ponyfm_', ]; diff --git a/resources/assets/scripts/app/filters/moment-from-now.coffee b/resources/assets/scripts/app/filters/moment-from-now.coffee index 21185b20..f258d5c6 100644 --- a/resources/assets/scripts/app/filters/moment-from-now.coffee +++ b/resources/assets/scripts/app/filters/moment-from-now.coffee @@ -1,3 +1,3 @@ angular.module('ponyfm').filter 'momentFromNow', () -> (input) -> - moment(input).fromNow() \ No newline at end of file + moment.utc(input).fromNow()