Sha256: bb799a4903494e312f115252cc124f7c5515c6e27d356fc19f6b35bdcfa877ce
Contents?: true
Size: 552 Bytes
Versions: 17
Compression:
Stored size: 552 Bytes
Contents
class Oxen::BackgroundJobsController < AbstractResourcesController private # Use callbacks to share common setup or constraints between actions. # def set_account # @account = Account.find(params[:id]) # end # Never trust parameters from the scary internet, only allow the white list through. # def account_params # params.require(:account).permit(:name) # end def resource_params params.require(:account).permit(:name, :active, :default_url, :chargeable, :last_charged_at, :free_users ) end end
Version data entries
17 entries across 17 versions & 1 rubygems