jam-cloud/web/app/controllers/api_app_features_controller.rb

10 lines
212 B
Ruby
Raw Permalink Normal View History

class ApiAppFeaturesController < ApiController
before_filter :api_signed_in_user
respond_to :json
def index
env = params[:env] || 'development'
@app_features = AppFeature.where(env: env)
end
end