Commit f9a18143 authored by Kamil Trzcinski's avatar Kamil Trzcinski Committed by Grzegorz Bizon
Browse files

Fix lambda operator

parent 3a3a5c312642
......@@ -64,7 +64,7 @@ def retry(build, current_user)
state_machine :status do
event :block do
transition :created => :manual, if: () -> { self.when == 'manual' }
transition :created => :manual, if: ->() { self.when == 'manual' }
end
after_transition any => [:pending] do |build|
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment