# encoding: utf-8 # # Copyright (C) 2011-2012 AdMaster, Inc. module <%= module_name %> class Application < Sinatra::Base use Apimaster::Application # controllers <%= module_name %>.constants.each do |k| if k =~ /Controller$/ use <%= module_name %>.const_get(k) end end end end