无法加载user / sign_up,在My_devise / registrations #new中出现错误SyntaxError

时间:2013-08-21 16:08:21

标签: haml

让rails服务器运行并且rake db:migrate成功创建一个空数据库。但是当我尝试加载user / sign_up页面时,我在My_devise / registrations中有 SyntaxError #new

  

显示第76行引出的app / views / layouts / application.html.haml:

/home/Contact/app/views/layouts/application.html.haml:76: syntax error, unexpected keyword_ensure, expecting keyword_end
...:Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer....
...                               ^
/home/Contact/app/views/layouts/application.html.haml:77: syntax error, unexpected keyword_ensure, expecting keyword_end
/home/Contact/app/views/layouts/application.html.haml:79: syntax error, unexpected $end, expecting keyword_end
  

提取的来源(第76行):

73:     .content{ :class => user_signed_in? ? 'signed_in' : '' }
74:       .container
75:         = yield
76: 
77:     %footer 
78:       %span
79:         Copyright © 2013 

我已经尝试过谷歌围绕这个问题,但没有帮助。

0 个答案:

没有答案