From e0a120a11c47f6556b336a606468a656fcf63774 Mon Sep 17 00:00:00 2001 From: mustafa Date: Sun, 8 Dec 2024 09:26:08 +0100 Subject: [PATCH] change behavior to behaviour --- plugins.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins.mk b/plugins.mk index 3fb2f7e8..59b0335d 100644 --- a/plugins.mk +++ b/plugins.mk @@ -3,7 +3,7 @@ # Plain HTTP handlers. define tpl_cowboy.http -module($(n)). --behavior(cowboy_handler). +-behaviour(cowboy_handler). -export([init/2]). @@ -14,7 +14,7 @@ endef # Loop handlers. define tpl_cowboy.loop -module($(n)). --behavior(cowboy_loop). +-behaviour(cowboy_loop). -export([init/2]). -export([info/3]). @@ -29,7 +29,7 @@ endef # REST handlers. define tpl_cowboy.rest -module($(n)). --behavior(cowboy_rest). +-behaviour(cowboy_rest). -export([init/2]). -export([content_types_provided/2]). @@ -50,7 +50,7 @@ endef # Websocket handlers. define tpl_cowboy.ws -module($(n)). --behavior(cowboy_websocket). +-behaviour(cowboy_websocket). -export([init/2]). -export([websocket_init/1]).