netzke / netzke-core

Framework for Sencha Ext JS + Ruby on Rails client-server components
http://netzke.org
Other
263 stars 77 forks source link

allow using custom conditions in routes #84

Closed novozhenets closed 3 months ago

novozhenets commented 7 years ago

make possible to use custom conditions on routes like below

routes : {
  'user/:id' : {
    action     : 'onUser',
    conditions : {
      ':id' : '([0-9]+)'
    }
  }
}