Sha256: b2c9b9dba11a6e25e4115d34b621d348f4b8b08c40cd352f72d6972fa1d5a028
Contents?: true
Size: 247 Bytes
Versions: 1
Compression:
Stored size: 247 Bytes
Contents
class ExperimentsController < ApplicationController def index @experiments = experiment_data end def update if toggle_feature(params[:name], params[:env], params[:value]=='true') render json: {status: :ok} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
experiment_light-0.3.0 | lib/generators/templates/experiments_controller.rb |