Sha256: b5764000cff3148c36da22761428be16c899af0c9dcb060c2874ad12c5a22cff
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
module MailEngine Rails.application.routes.draw do scope MailEngine::Base.current_config["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 # match ':controller(/:action(/:id(.:format)))', :controller => /admin\/[^\/]+/ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mail_engine-0.1.0 | config/routes.rb |