Sha256: 6deca5874569bd3fad21496c5701a1eef8b22e53d7c71d633d87c065b57d0f2a
Contents?: true
Size: 982 Bytes
Versions: 9
Compression:
Stored size: 982 Bytes
Contents
require 'cms_lite' require 'cms_lite/initialize_routes' if ENV["RAILS_ENV"] != "test" bad_routes = CmsLite.check_routes if !bad_routes.empty? STDERR.puts "********************************************************" STDERR.puts "CMS LITE WARNING" STDERR.puts "You currently have the same directory in your unprotected and protected directories." STDERR.puts "Only the files found in the unprotected directories will be available." STDERR.puts "Be sure that the same directory is not present under both locations. For example, " STDERR.puts "if your files are in the default location make sure that you don't have:" STDERR.puts "content/pages/en/demo/hi.html.erb" STDERR.puts "and" STDERR.puts "content/protected-pages/en/demo/hi.html.erb" STDERR.puts "Problem directories:" bad_routes.each do |route| STDERR.puts "#{route[:content_key]}" end STDERR.puts "********************************************************" end end
Version data entries
9 entries across 9 versions & 1 rubygems