Skip to content
Browse files

Add empty blog posts controller

We add an empty controller that inherits from our app’s base controller class. We could have gotten past this error message by creating a class that didn’t inherit from anything, but in this case we’re so sure we’ll inherit from the base controller class that we can go ahead and do it.

Red: The action 'new' could not be found for BlogPostsController

The acceptance test can now find the controller, but not a "new" action on it.
  • Loading branch information...
CodingItWrong committed Feb 26, 2016
1 parent 650c1a5 commit 61f863fb0c9ed9030a5952608374dff7b35b9a5e
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/controllers/blog_posts_controller.rb
@@ -0,0 +1,2 @@
class BlogPostsController < ApplicationController

0 comments on commit 61f863f

Please sign in to comment.
You can’t perform that action at this time.