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