The gadget does not need authorization.

This commit is contained in:
Reinier Balt 2009-08-04 10:27:20 +02:00
parent a2dd4797b7
commit 9b2757d8b0
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
class IntegrationsController < ApplicationController
skip_before_filter :login_required, :only => :search_plugin
skip_before_filter :login_required, :only => [:search_plugin, :google_gadget]
def index
@page_title = 'TRACKS::Integrations'

View file

@ -65,8 +65,9 @@ ActionController::Routing::Routes.draw do |map|
map.preferences 'preferences', :controller => 'preferences', :action => 'index'
map.integrations 'integrations', :controller => 'integrations', :action => 'index'
map.stats 'stats', :controller => 'stats', :action => 'index'
map.search_plugin '/integrations/search_plugin.xml', :controller => 'integrations', :action => 'search_plugin', :format => 'xml'
map.google_gadget '/integrations/google_gadget.xml', :controller => 'integrations', :action => 'google_gadget', :format => 'xml'
map.stats 'stats', :controller => 'stats', :action => 'index'
map.resources :recurring_todos,
:member => {:toggle_check => :put, :toggle_star => :put}