'Returns workflow\'s name and link.'

@web.expose
@web.json
@web.require_login('use    Galaxy    workflows')
def get_name_and_link_async(self, trans, id=None):

    stored = self.get_stored_workflow(trans, id)
    return_dict = {'name': stored.name, 'link': url_for(controller='workflow', action='display_by_username_and_slug', username=stored.user.username, slug=stored.slug)}
    return return_dict
