Skip to content

Instantly share code, notes, and snippets.

@lsegal
Created January 28, 2010 19:20
Show Gist options
  • Select an option

  • Save lsegal/289046 to your computer and use it in GitHub Desktop.

Select an option

Save lsegal/289046 to your computer and use it in GitHub Desktop.
get '/docs/:project/*/?' do
setup_project
setup_page
opts = {
serialize: false,
serializer: serializer,
project: project,
project_path: project_path,
type: :layout
}
opts = @yardoc.options.to_hash.merge(opts)
cache object.format(opts)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment