Answer the question
In order to leave comments, you need to log in
How to create a static html page without binding to a controller?
Good afternoon,
is it possible in principle?
I can create a controller and work with it and its view, for example,
localhost:41803/anonymous/viewpage
But within the same project, how can I make
localhost:41803/somepage.html work without a controller?
Answer the question
In order to leave comments, you need to log in
And what's the problem then? Just add html page: Add -> HTML Page. The main thing is not to throw it into the directory with views. You can first create a separate directory and add html pages to it already.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question