cirandas.net

ref: master

plugins/themes_api/lib/themes_api_plugin.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class ThemesApiPlugin < Noosfero::Plugin

  NamePrefix = "tantascores"
  ThemesPath = "#{Rails.root}/public/designs/themes"

  def self.plugin_name
    "Themes API"
  end

  def self.plugin_description
    "Methods to fetch user's organizations info and change theirs' themes"
  end

  def stylesheet?
    false
  end

  def js_files
    [].map{ |j| "javascripts/#{j}" }
  end


end