Project

General

Profile

« Previous | Next » 

Revision 53594

1. update_db.js: Add 'addDefaultHtmlToHtmlPagesForCommunity()' function for adding hmtl contents (/about and /organizations routes) to 'Clarin' community.
2. CommunityController.java: Add htmlPageContents when a community is created | delete htmlPageContents, statistics, communitySubscribers when a community is deleted.

View differences:

HtmlPageContent.java
15 15
    public HtmlPageContent() {
16 16
    }
17 17

  
18
    public HtmlPageContent(String page, String community, String content) {
19
        this.page = page;
20
        this.community = community;
21
        this.content = content;
22
    }
23

  
18 24
    public String getId() {
19 25
        return id;
20 26
    }

Also available in: Unified diff