Skip to content

Commit

Permalink
Merge pull request webmachine#177 from NineFX/fix-edoc-init-routes
Browse files Browse the repository at this point in the history
Fixes a fatal edoc error. Changes edoc spec to init_routes/1
  • Loading branch information
seancribbs committed Dec 18, 2013
2 parents 457dbd1 + f9ecd08 commit c993e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webmachine_router.erl
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 c993e6c

Please sign in to comment.