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