<routes>
  <class name="Cbikt\Controllers\Cron">
    <method name="indexAction">
      <pattern>/cron/</pattern>
      <pattern>/cron/index/</pattern>
    </method>
  </class>

  <class name="Cbikt\Controllers\FileDownload">
    <method name="indexAction" http-methods="GET">
      <pattern>/filedownload/</pattern>
      <pattern>/filedownload/index/</pattern>
    </method>
    <method name="avatarAction" requires-login="yes">
      <pattern>/filedownload/avatar/</pattern>
    </method>
  </class>

  <class name="Cbikt\Controllers\Login">
    <method name="login" http-methods="GET POST">
      <pattern>/user/login</pattern>
    </method>
    <method name="logout" http-methods="POST">
      <pattern>/user/logout</pattern>
    </method>
    <method name="resetPw" http-methods="GET POST">
      <pattern>/user/resetpw</pattern>
    </method>
  </class>

  <class name="Cbikt\Controllers\PictureEdit">
    <method name="indexAction">
      <pattern>/pictureedit/</pattern>
      <pattern>/pictureedit/index</pattern>
    </method>
    <method name="saveAction" http-methods="POST" requires-login="yes">
      <pattern>/pictureedit/save/</pattern>
    </method>
    <method name="avatarAction" http-methods="GET" requires-login="yes">
      <pattern>/pictureedit/avatar/</pattern>
    </method>
  </class>

  <class name="Cbikt\Controllers\Register">
    <method name="indexAction">
      <pattern>/register/</pattern>
    </method>
    <method name="doAction">
      <pattern>/register/do/</pattern>
    </method>
    <method name="confirmAction">
      <pattern>/register/confirm/</pattern>
    </method>
  </class>
</routes>
