lib/orange-sparkles/plugin.rb in orange-sparkles-0.5.8 vs lib/orange-sparkles/plugin.rb in orange-sparkles-0.5.9
- old
+ new
@@ -1,9 +1,11 @@
+require 'orange-sparkles/sparkles_resource'
module Orange::Plugins
class Sparkles < Base
assets_dir File.join(File.dirname(__FILE__), 'assets')
views_dir File.join(File.dirname(__FILE__), 'views')
templates_dir File.join(File.dirname(__FILE__), 'templates')
+ resource SparklesResource.new
end
end
Orange.plugin(Orange::Plugins::Sparkles.new)