Prune unused method in QueriesHelper

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2935/head
Alex Coles 9 years ago
parent e02599c121
commit d92a9b1cf0
  1. 7
      app/helpers/queries_helper.rb

@ -89,11 +89,4 @@ module QueriesHelper
end
@visible_queries
end
def grouped_query_options
{
l(:label_my_queries) => visible_queries.select { |query| !query.is_public? }.map { |query| [query.name, query.id] },
l(:label_query_plural) => visible_queries.select(&:is_public?).map { |query| [query.name, query.id] }
}
end
end

Loading…
Cancel
Save