Class: FluidFeatureAjaxController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- FluidFeatureAjaxController
- Defined in:
- lib/fluidfeatures/rails/app/controllers/fluidfeatures_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
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 |