summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/environment.rb2
-rw-r--r--lib/redmine/menu_manager.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb
index dced5993e..e203227e6 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -48,7 +48,7 @@ Rails::Initializer.run do |config|
:port => 25,
:domain => "somenet.foo",
:authentication => :login,
- :user_name => "redmine",
+ :user_name => "redmine@somenet.foo",
:password => "redmine",
}
diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb
index c645b5ce8..af54b41fe 100644
--- a/lib/redmine/menu_manager.rb
+++ b/lib/redmine/menu_manager.rb
@@ -15,6 +15,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+require 'gloc'
+
module Redmine
module MenuManager
module MenuController