So change it to event recorder controller.. I prefer the REST action names

From:  giladgo <notifications@github.com>
Reply-To:  iic-ninjas/ruadan
<reply+p-10208948-a56ce6f85467e0c1eedb1304ac7f58fc1fc16ab9-512336@reply.gith
ub.com>
Date:  Mon, 03 Mar 2014 04:54:05 -0800
To:  iic-ninjas/ruadan <ruadan@noreply.github.com>
Cc:  itay adler <itayadler@gmail.com>
Subject:  Re: [ruadan] Adding event store in redis (#4)


In app/controllers/event_controller.coffee:
> @@ -0,0 +1,25 @@
> +_ = require('lodash')
> +Event = require("#{APP_ROOT}/app/models/event")
> +Session = require("#{APP_ROOT}/app/models/session")
> +
> +
> +module.exports = (app) ->
> +
> +  class app.EventController
> +
> +
> +    # Record an event or a list of events
> +    @record = (req, res) ->
REST might be a little too confusing here, i really like "record", which is
very clear as to what's going on, instead of a generic "new".

‹
Reply to this email directly or view it on GitHub
<https://github.com/iic-ninjas/ruadan/pull/4/files#r10208948> .