Commit 1ce0ee0aba787b97e85dc9f4eac9ba679cbf1421
1 parent
e4b54e4a
Exists in
elasticsearch_api
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 | ... | ... |