Diff
Modified: trunk/app/views/layouts/_myexperiment.html.erb (3748 => 3749)
--- trunk/app/views/layouts/_myexperiment.html.erb 2013-10-08 13:27:05 UTC (rev 3748)
+++ trunk/app/views/layouts/_myexperiment.html.erb 2013-10-08 13:42:10 UTC (rev 3749)
@@ -4,6 +4,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
+ <% unless Conf.google_site_verification.nil? %>
+ <meta name="google-site-verification" content="<%= Conf.google_site_verification -%>" />
+ <% end %>
<%= t :site => "#{Conf.sitename} - #{controller_visible_name(controller.controller_name.humanize)}", :separator => "-" %>
<% if @lod_rdf %><link rel="alternate" href="" @lod_rdf -%>" type="application/rdf+xml" title="RDF+XML" /><% end %>
<% if @lod_xml %><link rel="alternate" href="" @lod_xml -%>" type="application/xml" title="REST XML" /><% end %>
Modified: trunk/config/default_settings.yml (3748 => 3749)
--- trunk/config/default_settings.yml 2013-10-08 13:27:05 UTC (rev 3748)
+++ trunk/config/default_settings.yml 2013-10-08 13:42:10 UTC (rev 3749)
@@ -339,6 +339,11 @@
cookie_verifier_secret: 64a59b43e7aa93e55a5db119180a2973b584555f71e87388de5c27682407987446a0293dab64f5913cb19ead617893546b3646c98672905a38e6dfbfb5871034
+# google_site_verification - Use this to insert a Google site verification code
+# into the headers.
+
+google_site_verification:
+
# google_web_analytics - Enable this to enable Google web analytics.
google_web_analytics:
Modified: trunk/lib/conf.rb (3748 => 3749)
--- trunk/lib/conf.rb 2013-10-08 13:27:05 UTC (rev 3748)
+++ trunk/lib/conf.rb 2013-10-08 13:42:10 UTC (rev 3749)
@@ -218,6 +218,14 @@
self.fetch_entry('expanded_filter_size')
end
+ def self.method_missing(method)
+ if @defaults.has_key?(method.to_s)
+ fetch_entry(method.to_s)
+ else
+ super
+ end
+ end
+
# This method is required to create an administrator in the test fixtures
def self.admins=(value)