Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7deb30a944
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (23 sloc) 0.795 kb
= form_tag(search_gists_path, :method => "get") do
= label_tag(:q, "Search your gists:")
= text_field_tag(:q, params[:q])
= submit_tag("Go")
= "(last updated: #{current_user.last_gh_fetch ? current_user.last_gh_fetch.to_formatted_s(:short) : "not yet"})"
- for result in @results
/ %p= result.inspect
- if result.highlight
%p= link_to((result.highlight.description ? result.highlight['description'].first.html_safe : result.description), result.url)
- if(result.highlight[:'files.content'])
- result.highlight[:'files.content'].each do |highlight|
%code= highlight
- else
%p= link_to(result.description, result.url)
$(function() {
Jump to Line
Something went wrong with that request. Please try again.