From 6eac388a0b831b4d389734b28dc50b9cc5002fca Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Thu, 27 Aug 2015 16:41:23 -0300 Subject: [PATCH] Update from showPreview to showContent. We dont have preview page anymore. --- src/app/components/article-box/article-box.directive.js | 10 ---------- src/app/components/article-box/article-box.html | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/app/components/article-box/article-box.directive.js b/src/app/components/article-box/article-box.directive.js index ab924c9..65380cc 100644 --- a/src/app/components/article-box/article-box.directive.js +++ b/src/app/components/article-box/article-box.directive.js @@ -49,16 +49,6 @@ ArticleBoxController.prototype.showContent = function () { var vm = this; - vm.$state.go('programa-conheca', { - slug: vm.article.slug - }, { - location: true - }); - }; - - ArticleBoxController.prototype.showPreview = function () { - var vm = this; - vm.$state.go('programa-conteudo', { slug: vm.article.slug }, { diff --git a/src/app/components/article-box/article-box.html b/src/app/components/article-box/article-box.html index ef13453..061b936 100644 --- a/src/app/components/article-box/article-box.html +++ b/src/app/components/article-box/article-box.html @@ -1,4 +1,4 @@ -
+

{{vm.category.name}}

-- libgit2 0.21.2