-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored the Newsletter Mails and User Controller
- Updated Newsletter index action method to show newsletter by type - Created single action method to send monthly, opt-in and opt-out newsletter mails - Updated routes according to the below methods - Removed the global send mail and send test buttons and added buttons below individual newsletters. - Added before filters and flash messages in Newsletter and User controller - Added alert message before deleting newsletter - Modified the UI for test mail template - Changed the query for fetching newsletter in opt-in worker, opt-out worker and user worker - Fix test configuration - Fix the bootstrap navbar menu-items active-state issue - Fix the gemfile for test environment - Removed duplicated methods - Updated the depricated deliver method - Fix and modified the test cases for User and Newsletter controller - Rename the newsletter type constant - Fix the user form
- Loading branch information
1 parent
4d3bea6
commit 3475996
Showing
36 changed files
with
748 additions
and
552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.