./test/dummy/app/controllers/umlaut_controller.rb in umlaut-3.3.1 vs ./test/dummy/app/controllers/umlaut_controller.rb in umlaut-4.0.0.beta1
- old
+ new
@@ -14,12 +14,11 @@
#
# You will ordinarily set config here, and can also over-ride
# methods from Umlaut::ControllerBehavior if desired. Or add
# additional helpers to over-ride Umlaut helpers if needed.
class UmlautController < ApplicationController
- include Umlaut::ControllerBehavior
-
+ include Umlaut::ControllerBehavior
# Some suggested configuration. More config keys
# are available, see UmlautConfigurable.set_default_configuration!
# implementation for list. Configuration actually uses
# a Confstruct object.
@@ -58,9 +57,12 @@
# add_referent_filters!( :match => /.*/, :filter => DissertationCatch.new )
# How many seconds between updates of the background updater for background
# services?
# poll_wait_seconds 4
+
+ # uncomment this line to show localisation selector
+ show_localization_selector true
# Configuration for the 'search' functions -- A-Z lookup
# and citation entry.
search do
# Is your SFX database connection, defined in database.yml under