Sha256: 028995f1915f0cde133b8ce5dd1f0766c0cf8877689e9e1f444173f137c9e3f0
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
Contents
module MailEngine Rails.application.routes.draw do # if not loaded config should not mount it. if mount_at = MailEngine::Base.current_config["mount_at"] scope mount_at, :module => :mail_engine do match '/', :controller => "dashboard", :action => "index", :as => :mail_engine_dashboard resources :mail_templates do member do get :duplicate put :duplicate get :preview post :preview get :body post :body post :send_test_mail end collection do # used before mail template been saved post :preview get :get_existed_subject get :new_by_upload post :create_by_upload post :partial_options end resources :mail_template_files end resources :mail_schedules do member do post :send_test_mail end end resources :reports do collection do get :chart end end resources :mail_logs end end # end if end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mail_engine-0.1.2 | config/routes.rb |
mail_engine-0.1.1 | config/routes.rb |