Commit c8649c5d6099b396fe6cc01b322de95224830916

Authored by Dmitriy Zaporozhets
1 parent 92f04733

Fix issue with undefined dispather page

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
app/assets/javascripts/dispatcher.js.coffee
... ... @@ -12,6 +12,9 @@ class Dispatcher
12 12  
13 13 console.log(page)
14 14  
  15 + unless page
  16 + return false
  17 +
15 18 path = page.split(':')
16 19  
17 20 switch page
... ...