diff --git a/app/models/Entities/User.php b/app/models/Entities/User.php index a16002af..b9b23a6f 100644 --- a/app/models/Entities/User.php +++ b/app/models/Entities/User.php @@ -37,6 +37,10 @@ return $this->hasMany('Entities\Comment', 'profile_id')->orderBy('created_at', 'desc'); } + public function getIsArchivedAttribute() { + return (bool) $this->attributes['is_archived']; + } + public function getUrlAttribute() { return URL::to('/' . $this->slug); } diff --git a/gulpfile.js b/gulpfile.js index 45fdfb4f..cdf1e55e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -164,7 +164,7 @@ gulp.task('build', [ 'scripts-app', 'styles-app', 'scripts-embed', - 'styles-embed', + 'styles-embed' ]); gulp.task("watch", function() {