summaryrefslogtreecommitdiffstats
path: root/js/app/services/showall.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'js/app/services/showall.coffee')
-rw-r--r--js/app/services/showall.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/app/services/showall.coffee b/js/app/services/showall.coffee
index a40f176bc..1d12864c6 100644
--- a/js/app/services/showall.coffee
+++ b/js/app/services/showall.coffee
@@ -21,7 +21,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
###
-angular.module('News').factory '_ShowAll', ->
+angular.module('News').factory 'ShowAll', ->
class ShowAll
@@ -41,4 +41,4 @@ angular.module('News').factory '_ShowAll', ->
@_showAll = showAll
- return ShowAll
+ return new ShowAll()