Skip to content

Commit

Permalink
Do not set message source on M2mException since it is done by LightCo…
Browse files Browse the repository at this point in the history
…ntrolBootApplication
  • Loading branch information
UweKubosch committed Jan 12, 2023
1 parent ff0980b commit 994f469
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group 'no.datek'
version '0.0.8'
version '0.0.9'

java {
withJavadocJar()
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/ruby/controller_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def current_locale(request)
@@message_source = Java::org.springframework.context.support::ReloadableResourceBundleMessageSource.new
@@message_source.setCacheSeconds(300)
@@message_source.setBasenames("classpath:lights_version", "classpath:lightsMessages")
Java::no.datek.m2m.kernel.exceptions::M2mException.setMessageSource(@@message_source)

def message_source
@@message_source
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ruby/slim_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
require 'slim'

# Local source
require 'application_setup'
require 'bigdecimal_ext'
require 'common_classes'
require 'controller_utils'
require 'form_helper'
require 'message_source_accessor'
Expand Down

0 comments on commit 994f469

Please sign in to comment.