bricks/fs_skin/lib/bricks/fs_skin.rb in zena-1.2.4 vs bricks/fs_skin/lib/bricks/fs_skin.rb in zena-1.2.5

- old
+ new

@@ -1,7 +1,7 @@ module Bricks - module Fs_skin + module FsSkin ELEM = "([a-zA-Z_]+)" ELEM_REGEXP = %r{^#{ELEM}$} SECURE_PATH_REGEXP = %r{^[a-zA-Z_/\-\+]+$} STATIC_SKIN_REGEXP = %r{^#{ELEM}-#{ELEM}$} ZAFU_URL_REGEXP = %r{^\$#{ELEM}-#{ELEM}/(.+)$} @@ -72,11 +72,11 @@ validate :validate_z_fs_skin alias_method_chain :skin_name, :fs_skin end # We move this method here so that we do not need to reference - # Bricks::Fs_skin in I18n when fs_skin brick is disabled. + # Bricks::FsSkin in I18n when fs_skin brick is disabled. def base.text_from_fs_skin(brick_name, skin_name, path, opts) if path =~ SECURE_PATH_REGEXP fullpath = "$#{brick_name}-#{skin_name}/#{path}" section_id = nil template = nil @@ -184,7 +184,7 @@ end end end end end # SiteMethods - end # Fs_skin + end # FsSkin end # Bricks