Project

General

Profile

Refactoring #36

Updated by liaham over 4 years ago

The accesibility of legal note content should be stablilised by using an API located in app/models. 

 --- 

 **Context** 

 Currently, the plugin uses the plugin settings interface in order to store and display the text of a legal note. As soon as some more attributes will be necessary the controller and views needs to be changed too. Moreover, fetching attributes will become testable. 

  

 --- 

 **Benefit** 

 With an API for accessing the current attributes, there are no further changes required when the functionalities will grow.

Back