config/initializers/resolver.rb in kuztuscms-0.0.8 vs config/initializers/resolver.rb in kuztuscms-0.0.9

- old
+ new

@@ -24,11 +24,9 @@ end # Normalize name and prefix, so the tuple ["index", "users"] becomes # "users/index" and the tuple ["template", nil] becomes "template". def normalize_path(name, prefix) - puts name.inspect - puts prefix.inspect return name if prefix == "kuztuscms/pages" return name.gsub(/^#{Kuztuscms.layout_prefix}/, '') if prefix == "layouts" prefix.present? ? "#{prefix}/#{name}" : name end