Permalink
Browse files

Use __DIR__.

  • Loading branch information...
seven1m committed Feb 2, 2014
1 parent 90a591d commit 6b9f831438190705d323b6f8a501a69d463197ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 21-wiki.exs
View
@@ -97,7 +97,7 @@ defmodule Wiki do
end
def page_path(name) do
- Path.join("../support/wiki", name) |> Path.expand(__FILE__)
+ Path.join("support/wiki", name) |> Path.expand(__DIR__)
end
def save_page(name, data) do

0 comments on commit 6b9f831

Please sign in to comment.