diff --git a/data/msfweb/app/controllers/msf_controller.rb b/data/msfweb/app/controllers/msf_controller.rb new file mode 100644 index 0000000000..f2df3a02d4 --- /dev/null +++ b/data/msfweb/app/controllers/msf_controller.rb @@ -0,0 +1,6 @@ +class MsfController < ApplicationController + + def index + end + +end diff --git a/data/msfweb/app/helpers/msf_helper.rb b/data/msfweb/app/helpers/msf_helper.rb new file mode 100644 index 0000000000..b901a53204 --- /dev/null +++ b/data/msfweb/app/helpers/msf_helper.rb @@ -0,0 +1,2 @@ +module MsfHelper +end diff --git a/data/msfweb/app/views/payloads/index.rhtml b/data/msfweb/app/views/msf/index.rhtml similarity index 100% rename from data/msfweb/app/views/payloads/index.rhtml rename to data/msfweb/app/views/msf/index.rhtml diff --git a/data/msfweb/config/routes.rb b/data/msfweb/config/routes.rb index 27fcae80d4..dbf3532312 100644 --- a/data/msfweb/config/routes.rb +++ b/data/msfweb/config/routes.rb @@ -1,17 +1,5 @@ ActionController::Routing::Routes.draw do |map| - # The priority is based upon order of creation: first created -> highest priority. - - # Sample of regular route: - # map.connect 'products/:id', :controller => 'catalog', :action => 'view' - # Keep in mind you can assign values other than :controller and :action - - # Sample of named route: - # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase' - # This route can be invoked with purchase_url(:id => product.id) - - # You can have the root of your site routed by hooking up '' - # -- just remember to delete public/index.html. - # map.connect '', :controller => "welcome" + map.connect '', :controller => "msf" # Allow downloading Web Service WSDL as a file with an extension # instead of a file named 'wsdl'