use json::{JsonValue, object};
use br_addon::module::Module;
use br_addon::request::Request;
use br_addon::ApiResponse;

pub struct {{action}} {
    pub module: {{model}},
}

impl Action for {{action}} {
    fn author(&self) -> &'static str { ""}
    fn title(&self) -> &'static str { "{{title}}" }
    fn tags(&self) -> &'static [&'static str] { &[] }
    fn index(&mut self, request: Request) -> ApiResponse {

    }
}