# SyntaxError in \<controller not set\>#\<action not set\>

**URL:** <https://www.ruby-forum.com/t/syntaxerror-in-controller-not-set-action-not-set/49007>\
**Category:** Rails\
**Created:** [November 28, 2005, 5:06pm UTC](https://www.ruby-forum.com/t/syntaxerror-in-controller-not-set-action-not-set/49007 "2005-11-28T17:06:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/53a042/32.png) [@cole](https://www.ruby-forum.com/u/cole)\
**Post date:** [November 28, 2005, 5:06pm UTC](https://www.ruby-forum.com/t/syntaxerror-in-controller-not-set-action-not-set/49007/1 "2005-11-28T17:06:28Z")

</div>

All of a sudden I started getting the error

SyntaxError in #

If I remove all source code from the controller and just have an empty  
index method I still get the same error. How is this possible?

John
