mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
UX: simplify and shorten new script flow for automations (#29178)
This commit is contained in:
@ -21,7 +21,7 @@ module DiscourseAutomation
|
||||
end
|
||||
|
||||
def create
|
||||
automation_params = params.require(:automation).permit(:name, :script, :trigger)
|
||||
automation_params = params.require(:automation).permit(:script, :trigger)
|
||||
|
||||
automation =
|
||||
DiscourseAutomation::Automation.new(
|
||||
|
Reference in New Issue
Block a user