Sha256: 70f0fba9598e35a6aa98a8a4cdda787cfa77c3a650099131c556746dd5cc4124
Contents?: true
Size: 199 Bytes
Versions: 2
Compression:
Stored size: 199 Bytes
Contents
class CategoriesController < ApplicationController respond_to :html def create @category = Category.create(params[:category]) respond_with @category, location: categories_path end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
navi-0.2.1 | spec/dummy/app/controllers/categories_controller.rb |
navi-0.2.0 | spec/dummy/app/controllers/categories_controller.rb |