Sha256: 4271dd6ce43251de821640caa2578bbfd028619b908ff92b001b4242a1e2f3c8

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

require 'tdiary'
require 'tdiary/application'

module TDiary
	class Contrib
		def self.root
			File.expand_path('../..', __FILE__)
		end

		class Plugin
			def self.setup(sp_path)
				sp_path << File.join(TDiary::Contrib.root, 'plugin')
			end
		end
	end

	Application.configure do
		config.assets_paths << File.join(TDiary::Contrib.root, 'js')
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdiary-contrib-4.0.2.1 lib/tdiary-contrib.rb
tdiary-contrib-4.0.2 lib/tdiary-contrib.rb
tdiary-contrib-3.2.2.20130614 lib/tdiary-contrib.rb