Commit 4b07a11b7700ef6c67dc67f3bb2de64e68a55729
1 parent
5c7eff48
Exists in
elasticsearch_filter
and in
1 other branch
Elasticsearch: Adding end point to API
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 | ... | ... |