/modules/mod_admin_predicate/dispatch/dispatch

http://github.com/zotonic/zotonic · #! · 7 lines · 7 code · 0 blank · 0 comment · 0 complexity · 16b35df14990c14ea43f67f066cf5f13 MD5 · raw file

  1. %% -*- mode: erlang -*-
  2. %% Dispatch rule for a predicate list, edit and connections overview
  3. [
  4. {admin_predicate, ["admin", "predicate"], controller_admin, [{template, "admin_predicate.tpl"}, {selected, "predicate"}, {ssl, true}]},
  5. {admin_predicate_edit, ["admin", "predicate", id], controller_admin_predicate_edit, [{ssl, true}]},
  6. {admin_edges, ["admin", "connections"], controller_admin, [{template, "admin_edges.tpl"}, {selected, "edges"}, {ssl, true}]}
  7. ].