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.
1 parent 417a78a commit b1cbb7aCopy full SHA for b1cbb7a
lib/redmine_gtt/patches/projects_controller_patch.rb
@@ -36,6 +36,13 @@ def show
36
end
37
38
39
+ # Zeitwerk tweek
40
+ def action_missing(action_name, *args)
41
+ if action_name == 'update_gtt_configuration'
42
+ self.update_gtt_configuration
43
+ end
44
45
+
46
def update_gtt_configuration
47
if request.put? and User.current.allowed_to?(:manage_gtt_settings, @project)
48
@form = GttConfiguration.from_params(params[:gtt_configuration])
0 commit comments