Add javascript tracker and give Blocmetrics the capability to receive and record events from the js tracker.

done

On Jul 24, 2014, at 4:27 AM, Oliver Azevedo Barnes <notifications@github.com> wrote:

> In app/controllers/events_controller.rb:
> 
> > @@ -13,6 +21,23 @@ def create
> >    private
> >  
> >    def event_params
> > -    params.require(:event).permit(:ip_address, :web_property_id, :action, :updated_at, :created_at)
> > +    params.require(:event).permit(:app_id, :ip_address, :web_property_id, :action, :updated_at, :created_at)
> > +  end
> > +
> > +  def cors_set_headers
> DRYup these methods
> 
> —
> Reply to this email directly or view it on GitHub.
>