Class: FluidFeatureAjaxController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/fluidfeatures/rails/app/controllers/fluidfeatures_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
8
# File 'lib/fluidfeatures/rails/app/controllers/fluidfeatures_controller.rb', line 4

def index
  render :json => {
    :enabled => fluidfeature(params[:feature_name], params[:version_name])
  }, :status => 200
end