joomla/joomla-platform — pull request #1789 by Hackwar (2013-01-06 13:41:35+00:00)
Title: Small refactoring of JRoute::_()

This refactoring of JRoute::_() simplifies the code a bit, provides a small performance improvement and allows the router to specify if the URL needs to be https and is thus not completely dependent on the layout developer to remember to add the $ssl = true on the JRoute::_() call.