WP-API/WP-API — pull request #17 by rmccue (2013-11-25 05:18:38+00:00)
Title: Register rewrite rules during plugin activation

In order for the rewrite rules to work after activation, the rewrite rules have to be registered in the activation hook. Currently, the activation hook does nothing more than flush the current rules. Since our custom rules haven't been registered yet, they are not included in the flush.