lib/rbbt/rest/common/resources.rb in rbbt-rest-1.1.4 vs lib/rbbt/rest/common/resources.rb in rbbt-rest-1.1.5

- old
+ new

@@ -1,7 +1,6 @@ require 'sass' -#require 'yui/compressor' require 'uglifier' module RbbtRESTHelpers def recorded_js_files @recorded_js_files ||= [] @@ -20,9 +19,10 @@ recorded_css_files << file end def link_css(file) file += '.css' unless file =~ /.css$/ + file << "?_update=reload" if @debug_css html_tag('link', nil, :rel => 'stylesheet', :type => 'text/css', :href => file) end def link_js(file) file += '.js' unless file =~ /.js$/