Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Control access to "model" controller (yikes)

  • Loading branch information...
commit e8363d1b61fcf84ad55c5d664ad90d87fdd2734d 1 parent 669cff9
Evan Miller authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/controller/cb_admin_model_controller.erl
View
3  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, ""}.
Please sign in to comment.
Something went wrong with that request. Please try again.