This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
How to use sandstone with a default template
I may be missing a feature that already exists, but:
In a helper, do something like:
def default(options={}, &block) options.merge!(:body => capture(&block)) concat(render(:partial => '/layouts/default', :locals => options), block.binding) end
Then in the template, just do:
<% default do%> ... <% your code %> ... <% end %>
Then, finally, in the layout (‘/layouts/default’ in this case):
<html >
<% the sandstone header stuff %>
<body>
<%= body %>







