Skip to content

Commit

Permalink
Display edit screen when click event
Browse files Browse the repository at this point in the history
  • Loading branch information
yuko committed Feb 25, 2015
1 parent fc135ae commit 449a176
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/javascripts/events.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ ready = ->
day: 'HH:mm'
events: '/events.json'

eventClick:
(calEvent) ->
document.location = "../events/#{calEvent.id}/edit"

$(document).ready(ready)
$(document).on('page:load', ready)

0 comments on commit 449a176

Please sign in to comment.