Sha256: f09ae6eea872b8ddbc59694b47ff25df084b42d6fcb0edd0b2a004b68421010a

Contents?: true

Size: 679 Bytes

Versions: 3

Compression:

Stored size: 679 Bytes

Contents

buoy :account do
  link :account, 'http://example.com/account'
end

buoy :books do
  link 'Books', 'http://example.com/books'
end

buoy :show_books do |number|
  parent :books
  link "show-#{number}", "http://example.com/books/#{number}", link_current: true
end

buoy :edit_book_author do |book_id, author_id|
  parent :books
  link "edit-#{book_id}-#{author_id}", "http://example.com/books/#{book_id}/authors/#{author_id}/edit", link_current: true
end

buoy :show_user_item do |user, item|
  link :show_user_item, [user, item]
end

buoy :edit_user_item do |user, item|
  pre_buoy :show_user_item, [user, item]
  link :edit_user_item, [:edit, user, item], link_current: true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
buoys-0.6.0 test/dummy/config/buoys/buoys.rb
buoys-0.5.0 test/dummy/config/buoys/buoys.rb
buoys-0.4.0 test/dummy/config/buoys/buoys.rb