I am receiving the following error. Thanks


SyntaxError in StoriesController#index

/Users/usdr/shovell/app/controllers/stories_controller.rb:16: syntax error, unexpected $end, expecting kEND

_______________________________________________________________

Copy of stories.controller.rb

class StoriesController < ApplicationController
def index
@story = Story.find(:first, :order => 'RANDOM()')
end
def new
@story = Story.new
end
def create
@story = Story.new(params[:story])
if @story.save
flash[:notice] = 'Story submission succeeded'
redirect_to stories_path
else
render :action => 'new'
end
end