Skip to content
Browse files

Use __DIR__.

  • Loading branch information...
1 parent 90a591d commit 6b9f831438190705d323b6f8a501a69d463197ed @seven1m committed Feb 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 21-wiki.exs
View
2 21-wiki.exs
@@ -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.
Something went wrong with that request. Please try again.