blob: 9c59adf50e6f627521c865c7f6a6b07de1655de0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "strusCms.hpp"
#include "content.hpp"
#include <cppcms/url_dispatcher.h>
#include <cppcms/url_mapper.h>
#include <cppcms/http_response.h>
strusCms::strusCms( cppcms::service &srv ) : cppcms::application( srv )
{
dispatcher( ).assign( "", &strusCms::intro, this );
mapper( ).assign( "" );
mapper( ).root( "/strusCms" );
}
void strusCms::intro( )
{
content::master c;
c.title = "strusCms";
render( "intro", c );
}
|