diff options
Diffstat (limited to 'src/intro.cpp')
-rw-r--r-- | src/intro.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/intro.cpp b/src/intro.cpp index e69de29..bf0331d 100644 --- a/src/intro.cpp +++ b/src/intro.cpp @@ -0,0 +1,24 @@ +#include "content.hpp" +#include "intro.hpp" +#include "strusCms.hpp" + +#include <cppcms/url_dispatcher.h> +#include <cppcms/url_mapper.h> + +namespace apps { + +intro::intro( strusCms &cms ) + : master( cms ) +{ + cms.dispatcher( ).assign( "", &intro::show, this ); + cms.mapper( ).assign( "" ); +} + +void intro::show( ) +{ + content::intro c; + c.title = "strusCms"; + render( "intro", c ); +} + +} |