Commit e064f1e00ff94402ab0f4112fa38dc8f449e61f8
1 parent
b8e774f1
Exists in
fix_sign_up_form
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 | ... | ... |