Sha256: 051e86c728c34e14af63103307a39a470228d24fdd195454404e2aeff234445c
Contents?: true
Size: 321 Bytes
Versions: 41
Compression:
Stored size: 321 Bytes
Contents
prepend Actions on 'index' do @base = Utopia::Project::Base.instance end on '**/*/index' do |request, path| @base = Utopia::Project::Base.instance lexical_path = path.components.dup # Remove the last "index" part: lexical_path.pop @node, @symbol = @base.lookup(lexical_path) path.components = ["show"] end
Version data entries
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
utopia-project-0.1.0 | pages/source/controller.rb |