def link(key, *args)
      options = args.extract_options!
      path = args.shift
      url = path ? context.url_for(path) : nil

      text = I18n.t(key, scope: 'buoys.breadcrumbs', default: key)

      links << Buoys::Link.new(text, url, options)
    end
def link(key, *args)
      options = args.extract_options!
      path = args.shift
      url = path ? context.url_for(path) : nil

      text = I18n.t(key, scope: 'buoys.breadcrumbs', default: key)

      links << Buoys::Link.new(text, url, options)
    end
buoy :account do
   link 'Account', account_path
 end

 buoy :account_edit do |account|
   link 'Account Show', show_account_path(account)
   link 'Account Edit', edit_account_path(account)
   pre_buoy :account
 end