Could somone please check this over.. i cant find the error.

Emil Kampp wrote:

Hi there. Can anyone help me. I get a "Unexpected $end expected kEnd" But the error is in the very last line. What is the reason for this. I cant find it myself.

I have attached the file in question to this topic.

- Emil     emil@kampp-productions.dk

Attachments: http://www.ruby-forum.com/attachment/4/characters_controller.rb

Here's the problem (missing "end" in aprove_character):

   def aprove_character      if session['user']['s']      end