OpenSearch support.

This implements #804.
This commit is contained in:
Hans de Graaff 2008-12-10 21:30:43 +01:00
parent 6149900e0c
commit 307e85287c
4 changed files with 28 additions and 0 deletions

View file

@ -1,5 +1,7 @@
class IntegrationsController < ApplicationController
skip_before_filter :login_required, :only => :search_plugin
def index
@page_title = 'TRACKS::Integrations'
end
@ -22,4 +24,12 @@ class IntegrationsController < ApplicationController
context = current_user.contexts.find params[:context_id]
render :partial => 'applescript2', :locals => { :context => context }
end
def search_plugin
@icon_data = [File.open(RAILS_ROOT + '/public/images/done.png').read].
pack('m').gsub(/\n/, '')
render :layout => false
end
end