aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java b/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java
index 079c1db2edc..d0544c03692 100644
--- a/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java
+++ b/sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java
@@ -131,6 +131,10 @@ public final class JRubyFacade implements ServerComponent {
return getContainer().getComponent(Views.class).getPages(NavigationSection.RESOURCE_TAB, null, null, null);
}
+ public List<ViewProxy<Page>> getResourceTabs(String scope, String qualifier, String language) {
+ return getContainer().getComponent(Views.class).getPages(NavigationSection.RESOURCE_TAB, scope, qualifier, language);
+ }
+
public ViewProxy<Page> getPage(String id) {
return getContainer().getComponent(Views.class).getPage(id);
}