fix #1287. Fix various small bugs and some small improvements

This commit is contained in:
Reinier Balt 2012-06-29 16:48:30 +02:00
parent 88729f57ce
commit bd8498f39c
10 changed files with 18 additions and 40 deletions

View file

@ -2,7 +2,7 @@ class IntegrationsController < ApplicationController
require 'mail'
skip_before_filter :login_required, :only => [:cloudmailin, :search_plugin, :google_gadget]
def index
@page_title = 'TRACKS::Integrations'
end
@ -27,11 +27,8 @@ class IntegrationsController < ApplicationController
end
def search_plugin
# TODO: ASSET PATH!!
@icon_data = [File.open(Rails.root + '/app/assets/images/done.png').read].
@icon_data = [File.open(File.join(Rails.root, 'app', 'assets', 'images', 'done.png')).read].
pack('m').gsub(/\n/, '')
render :layout => false
end
def google_gadget