Permalink
Browse files

Control access to "model" controller (yikes)

  • Loading branch information...
1 parent 669cff9 commit e8363d1b61fcf84ad55c5d664ad90d87fdd2734d Evan Miller committed May 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/controller/cb_admin_model_controller.erl
@@ -4,6 +4,9 @@
-define(RECORDS_PER_PAGE, 100).
+before_(_) ->
+ cb_admin_lib:require_ip_address(Req).
+
heartbeat('POST', [WatchName], Authorization) ->
boss_news:extend_watch(list_to_integer(WatchName)),
{output, ""}.

0 comments on commit e8363d1

Please sign in to comment.