# File lib/ramaze/helper/layout.rb, line 56
        def set_layout(hash_or_the_layout)
          if hash_or_the_layout.respond_to?(:to_hash)
            f = hash_or_the_layout.to_hash.find{|k,v| k && v }
            the_layout = f[0]
            whitelist = f[1].map{|action| action.to_s }
          else
            the_layout = hash_or_the_layout
          end

          layout do |path, wish|
            if whitelist.nil? || whitelist.include?(path.to_s)
              the_layout
            end
          end
        end