Patch to PROJECT_app.erl
Reported by Rusty Klophaus | March 22nd, 2009 @ 10:02 AM
Contributed by Mickaël Rémond.
diff --git a/priv/skel/PROJECT_app.erl b/priv/skel/PROJECT_app.erl index bd829d4..6d73d57 100644 --- a/priv/skel/PROJECT_app.erl +++ b/priv/skel/PROJECT_app.erl @@ -2,7 +2,7 @@ -export ([start/2, stop/1, route/1, request/1]). -behavior(application).
-start(, ) -> nitrogen:start(). +start(, ) -> nitrogen:start(PROJECT). stop(_) -> nitrogen:stop().
%% route/1 lets you define new URL routes to your web pages,
Comments and changes to this ticket
-
Rusty Klophaus March 22nd, 2009 @ 10:13 AM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Nitrogen Web Framework for Erlang