I created the rahm_test_controller.erl
file in src
directory, and added an action named hello
.
In /priv/rahm.routes
, I added this line for home page:
{"/",[{controller,"test"}, {action, "hello"}]}.
If I launch the server with ./init-dev.sh
, it works, but if I launch the server in production mode with ./init.sh start
, it does not work. When I open the home page, it says "No data received".
What's the problem here?