Network and first signature collection prototyping

This commit is contained in:
2017-12-17 11:21:09 +01:00
parent 58a576e011
commit f0b34f96ff
35 changed files with 2400 additions and 92 deletions
@@ -33,6 +33,11 @@ class ApplicationController < ActionController::Base
false
end
def only_admin
return true if current_supporter && current_supporter.admin?
raise ActionController::RoutingError, 'Not Found'
end
protected
def configure_permitted_parameters