Displaying 1 result from an estimated 1 matches for "aplicationcontrol".
2010 Nov 20
6
syntax error, unexpected tSTRING_BEG
Rails is throwing this error
C:/Ruby/Depot/app/views/products/index.html.erb:28: syntax error,
unexpected tSTRING_BEG, expecting keyword_do or ''{'' or ''(''
...er.privilege == 50 ? {link_to ''Show'', product} : ''a'' );@out...
in line
<%= current_user.privilege == 50 ? {link_to ''Show'', product} :