Sha256: a51f118e4df69741cad1d299f92ade043c57ba86d5e25f78654367eb4722334a
Contents?: true
Size: 607 Bytes
Versions: 7
Compression:
Stored size: 607 Bytes
Contents
class NetzkeController < ActionController::Base # collect javascripts from all plugins that registered it in Netzke::Base.config[:javascripts] def netzke respond_to do |format| format.js { res = "" Netzke::Base.config[:javascripts].each do |path| f = File.new(path) res << f.read end render :text => res.strip_js_comments } format.css { res = "" Netzke::Base.config[:css].each do |path| f = File.new(path) res << f.read end render :text => res } end end end
Version data entries
7 entries across 7 versions & 1 rubygems