# File lib/deltacloud/helpers/deltacloud_helper.rb, line 337 def check_features(opts={}) Sinatra::Rabbit.set :check_features, opts[:for] end
# File lib/deltacloud/helpers/deltacloud_helper.rb, line 325 def new_route_for(route, &block) get '/%s/new' % route.to_s do @opts = {} instance_eval(&block) if block_given? respond_to do |format| format.html do haml :"#{route}/new", :locals => @opts end end end end