Sha256: 0ad1d6777b43948aad838599b6469f0f7e9c2e1f81967046d2dcf5133fbf061a

Contents?: true

Size: 326 Bytes

Versions: 9

Compression:

Stored size: 326 Bytes

Contents

class User
  def create
    @category = Admin::Category.new(admin_category_params)
    if @category.save
      redirect_to @category, notice: 'Category was successfully created.'
    else
      render :form
    end
  end





































































































end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sandi_meter-1.2.0 spec/test_classes/15.rb
sandi_meter-1.1.8 spec/test_classes/15.rb
sandi_meter-1.1.7 spec/test_classes/15.rb
sandi_meter-1.1.6 spec/test_classes/15.rb
sandi_meter-1.1.5 spec/test_classes/15.rb
sandi_meter-1.0.5 spec/test_classes/15.rb
sandi_meter-1.0.4 spec/test_classes/15.rb
sandi_meter-1.0.3 spec/test_classes/15.rb
sandi_meter-1.0.2 spec/test_classes/15.rb