Sha256: 5214c78c4520b393866274450c599b16cb4bf85b601a8092afe29e8fbec50f31
Contents?: true
Size: 173 Bytes
Versions: 2
Compression:
Stored size: 173 Bytes
Contents
class PagesController < ApplicationController respond_to :html def create @page = Page.create(params[:page]) respond_with @page, location: pages_path end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
navi-0.2.1 | spec/dummy/app/controllers/pages_controller.rb |
navi-0.2.0 | spec/dummy/app/controllers/pages_controller.rb |