Browse Source

new imba structure - affects router tag

pull/2/head
Marek Piasecki 7 years ago
parent
commit
1ad16cdbf8
  1. 3
      components/router/router_tag.imba

3
components/router/router_tag.imba

@ -7,7 +7,8 @@ tag router
def setup
@r = R
@t = Imba:TAGS
def render
self:__:A = self:__:A || {}
<self> ( self:__:A[@r:view] || self:__:A[@r:view] = global:_T[@r:view.toUpperCase]() ).end
<self> ( self:__:A[@r:view] || self:__:A[@r:view] = @t[@r:view.toUpperCase]() ).end

Loading…
Cancel
Save