-
Notifications
You must be signed in to change notification settings - Fork 2
Rails plugin that provides a queuing system that hooks into content_for
License
mumboe/queue_for
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
QueueFor ======== Provides an orderable queue of content that works with :yield Example ======= Block Form - - - - <%queue_for :name=>"sidebar" do%> <div class="sb_block">Awesome Content</div> <%end%> String Form (say in a helper) - - - - queue_for({:name => "sidebar", :index=>1, :content=>more_content_for_sidebar}) Finally in layouts/application.html.erb <div class="sb"><%= yield :sidebar -%></div> Copyright (c) 2009 [mumboe.com] released under the MIT license
About
Rails plugin that provides a queuing system that hooks into content_for
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published