minad / olelo

Wiki with git backend
MIT License
241 stars 44 forks source link

Work around for issue #97 #100

Closed driehuis closed 7 years ago

driehuis commented 7 years ago

I'm not sure what could have caused this syntax to go bad, but this diff allows Olelo to start up. I tried Ruby 1.9.3-p551 as well as 2.2.5, and both seem to require this patch. It may have resulted from an update to a gem of course, but I'm clutching at straws there.

By adding parenthesis around the arguments to the http_accept? method a potential ambiguity gets resolved.