Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## application layout
- <div id="menuholder">
- <%= build_menu_bar %>
- </div>
- ## application_helper.rb
- def build_menu_bar
- dropdowns = Dropdown.all
- dropdowns.map do |d|
- content_tag :a, d.name
- end
- end
Add Comment
Please, Sign In to add comment