🏡 index : ~doyle/koselig.git

author Jordan Johnson-Doyle <jordan@doyle.la> 2018-12-16 16:09:54.0 +00:00:00
committer Jordan Johnson-Doyle <jordan@doyle.la> 2018-12-16 16:10:48.0 +00:00:00
commit
cbd2a5f9affe391aa63689f3f95b97906fa35289 [patch]
tree
c4b45f880baba43f7550a652f9b576f2d9770fb3
parent
69688a9b76a5f8077db76041e98e64c02e8f303f
download
cbd2a5f9affe391aa63689f3f95b97906fa35289.tar.gz

Fix errors when getting excerpt



Diff

 src/Models/Post.php        | 2 +-
 src/Routing/PostsRoute.php | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Models/Post.php b/src/Models/Post.php
index bcdd8ec..d3623eb 100644
--- a/src/Models/Post.php
+++ b/src/Models/Post.php
@@ -201,7 +201,7 @@ class Post extends Model
     */
    public function getExcerptAttribute()
    {
        return Action::filter('get_the_excerpt', $this->post_excerpt);
        return Action::filter('the_excerpt', $this->post_excerpt);
    }

    /**
diff --git a/src/Routing/PostsRoute.php b/src/Routing/PostsRoute.php
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/Routing/PostsRoute.php