fixed filename error for layouts by expanding file path
fixed filename error for layouts by expanding file path

Signed-off-by: José Valim <0c2436ea76ed86e37cc05f66dea18d48ef390882@gmail.com>
josevalim/rails-footnotes,SciMed/rails-footnotes,josevalim/rails-footnotes,jasnow/rails-footnotes,kbrock/rails-footnotes,josevalim/rails-footnotes,jasnow/rails-footnotes,jasnow/rails-footnotes