Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

license/comment update

Erik Hatcheradafb312c475
diff --git a/client/ruby/flare/app/controllers/application.rb b/client/ruby/flare/app/controllers/application.rb
index 0bfa731d73b..888ee9f4813 100644
--- a/client/ruby/flare/app/controllers/application.rb
+++ b/client/ruby/flare/app/controllers/application.rb
@@ -1,5 +1,14 @@
-# Copyright:: Copyright (c) 2007 Apache Software Foundation
-# License:: Apache Version 2.0 (see http://www.apache.org/licenses/)
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
diff --git a/client/ruby/flare/app/controllers/i18n_controller.rb b/client/ruby/flare/app/controllers/i18n_controller.rb
index ec54fda992a..3ff6b209273 100644
--- a/client/ruby/flare/app/controllers/i18n_controller.rb
+++ b/client/ruby/flare/app/controllers/i18n_controller.rb
@@ -1,3 +1,17 @@
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This controller demonstrates the returning of accented characters work from the Solr example data
+# and render properly in the browser
class I18nController < ApplicationController
def index
@results = SOLR.query("acute").hits