We could use a named parameter for `partial` here, so you can omit to include `additional_actions` and `options` on a method call. For example:

    def subnavigation(resource, pages, current_page, additional_actions = [], options = {}, partial: '/shared/subnavigation')
    end

And...

    subnavigation(repository, pages, current_page, partial: '/repository_settings/subnav')