summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 12:40:42 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 12:40:42 +0100
commitbb8168c33f9501fe877345a7bbc7b7f7b64cdfc7 (patch)
tree8804da99d69819b2d4253e827230f459c0ebac1c /config/routes.rb
parente13f041741fd3a44f407b623da0274d9748c5c54 (diff)
Added a BackupJob scaffold.
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index fbb32f6..3c3928f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,7 @@
Gemeinschaft42c::Application.routes.draw do
+ resources :backup_jobs, :except => [:edit, :update]
+
scope :constraints => lambda{|req|%w(127.0.0.1).include? req.remote_addr} do
get "trigger/voicemail"
get "trigger/fax"