mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-18 15:15:27 +01:00
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@674 a4c988fc-2ded-0310-b66e-134b36920a42
25 lines
711 B
Ruby
25 lines
711 B
Ruby
class IntegrationsController < ApplicationController
|
|
|
|
def index
|
|
@page_title = 'TRACKS::Integrations'
|
|
end
|
|
|
|
def rest_api
|
|
@page_title = 'TRACKS::REST API Documentation'
|
|
end
|
|
|
|
def get_quicksilver_applescript
|
|
context = current_user.contexts.find params[:context_id]
|
|
render :partial => 'quicksilver_applescript', :locals => { :context => context }
|
|
end
|
|
|
|
def get_applescript1
|
|
context = current_user.contexts.find params[:context_id]
|
|
render :partial => 'applescript1', :locals => { :context => context }
|
|
end
|
|
|
|
def get_applescript2
|
|
context = current_user.contexts.find params[:context_id]
|
|
render :partial => 'applescript2', :locals => { :context => context }
|
|
end
|
|
end
|