Skip to content

Commit

Permalink
Fixes a fatal edoc error. Changes the arity of the spec for init_rout…
Browse files Browse the repository at this point in the history
…es to 1.
  • Loading branch information
varnerac committed Dec 4, 2013
1 parent 619acb5 commit f9ecd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webmachine_router.erl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ get_routes() ->
get_routes(Name) ->
get_dispatch_list(Name).

%% @spec init_routes() -> ok
%% @spec init_routes([hostmatchterm() | pathmatchterm()]) -> ok
%% @doc Set the default routes, unless the routing table isn't empty.
init_routes(DefaultRoutes) ->
init_routes(default, DefaultRoutes).
Expand Down

0 comments on commit f9ecd08

Please sign in to comment.