We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bb3c5b + b1cbb7a commit b662d19Copy full SHA for b662d19
lib/redmine_gtt/patches/projects_controller_patch.rb
@@ -42,6 +42,13 @@ def show
42
end
43
44
45
+ # Zeitwerk tweek
46
+ def action_missing(action_name, *args)
47
+ if action_name == 'update_gtt_configuration'
48
+ self.update_gtt_configuration
49
+ end
50
51
+
52
def update_gtt_configuration
53
if request.put? and User.current.allowed_to?(:manage_gtt_settings, @project)
54
@form = GttConfiguration.from_params(params[:gtt_configuration])
0 commit comments