Commit 86e5a595 authored by John Noel's avatar John Noel

Created Posts controller and views

parent 42d4601a
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
// Place all the styles related to the Posts controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
class PostsController < ApplicationController
def index
end
def show
end
def new
end
def edit
end
end
module PostsHelper
end
<h1>Posts#edit</h1>
<p>Find me in app/views/posts/edit.html.erb</p>
<h1>Posts#index</h1>
<p>Find me in app/views/posts/index.html.erb</p>
<h1>Posts#new</h1>
<p>Find me in app/views/posts/new.html.erb</p>
<h1>Posts#show</h1>
<p>Find me in app/views/posts/show.html.erb</p>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment