Revision 72cf4c2f src/sunstone/sunstone-server.rb

View differences:

src/sunstone/sunstone-server.rb
197 197
##############################################################################
198 198
# Custom routes
199 199
##############################################################################
200
if settings.config[:custom_routes]
201
    settings.config[:custom_routes].each { |route|
202
        require "custom_routes/#{route}"
200
if settings.config[:routes]
201
    settings.config[:routes].each { |route|
202
        require "routes/#{route}"
203 203
    }
204 204
end
205 205

  

Also available in: Unified diff