Sha256: 26aaa00e51110379d77cf86df757d7895ed1ab41f81984252d7d5d14715404e7

Contents?: true

Size: 204 Bytes

Versions: 9

Compression:

Stored size: 204 Bytes

Contents

# encoding: utf-8
#
# Copyright (C) 2011-2012  AdMaster, Inc.

module <%= module_name %>
  class IndexController < Sinatra::Base
    get '/' do
      json message: "Hello There, buddy!"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
apimaster-0.1.4 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb
apimaster-0.1.3 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb
apimaster-0.1.2 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb
apimaster-0.1.1 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb
apimaster-0.0.7 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb
apimaster-0.0.6 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb
apimaster-0.0.5 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb
apimaster-0.0.4 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb
apimaster-0.0.3 lib/apimaster/generators/templates/app/controllers/index_controller.rb.erb