Sinatra Sub-Directory Views

前端 未结 0 1131
眼角桃花
眼角桃花 2021-02-11 20:44

I want to be able to get Sinatra views from sub-directories of ./views (such as ./views/admin). I know you can set the views like so:

set :views, Proc.new { File         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题