Permalink
Browse files

Removed for new code

  • Loading branch information...
1 parent a41c954 commit 1f509152ce1b53095348b1a2bc4ada86379f5ffa @davebryson committed Feb 7, 2009
Showing with 0 additions and 24 deletions.
  1. +0 −24 priv/skel/src/main_controller.erl
@@ -1,24 +0,0 @@
-%% Sample Root Controller
-
--module(main_controller).
-
--export([index/1]).
--export([handle_request/2, before_filter/1]).
-
--behaviour(gen_controller).
--include("beepbeep.hrl").
-
-
-index(Params) ->
- gen_controller:call(?MODULE,index,Params).
-
-
-%% Callbacks
-handle_request(index,Params) ->
- S = Params#params.sid,
- {render, "main/index.html",[{sess_key,S}],Params}.
-
-
-%% Callback filter
-before_filter(Params) ->
- {ok}.

0 comments on commit 1f50915

Please sign in to comment.