Commit ae3815e797f258c5379532455c47a1d6fa078051
1 parent
8b1ad594
Exists in
elasticsearch_sort
Adding end point to elasticsearch plugin
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
2 changed files
with
14 additions
and
0 deletions
Show diff stats
plugins/elasticsearch/lib/elasticsearch_plugin.rb
... | ... | @@ -4,6 +4,10 @@ class ElasticsearchPlugin < Noosfero::Plugin |
4 | 4 | "ElasticsearchPlugin" |
5 | 5 | end |
6 | 6 | |
7 | + def self.api_mount_points | |
8 | + [ElasticsearchPlugin::API] | |
9 | + end | |
10 | + | |
7 | 11 | def self.plugin_description |
8 | 12 | _("This plugin is used to communicate a elasticsearch to privide a search.") |
9 | 13 | end | ... | ... |