docbrown/app/helpers
Prayesh Shah c043339654
Bug Fix: Following an organization from article's sidebar creates an incorrect follow record (#15093)
* Downcase `followable_type` to fix wrong follows creation bug

* Use `follow_button` helper

* Remove puts statement

* Revert use of follow_button helper

* Remove downcase of followable_type from helper

* Refactor switch case for better consistency

* Add e2e test for follow organization from article page functionality

* Split cypress `it` block into two

* Add additional test to following organizations from dashboard

* Remove downcasing of followable_type for decorated objects

* Fix failing follow back spec

* Force capitalize `followable_type` param

Co-authored-by: Mac Siri <krairit.siri@gmail.com>

* Update app/controllers/follows_controller.rb

Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2021-11-05 12:40:20 -04:00
..
admin_helper.rb RFC 50 - Remove old admin routes and related code (#13579) 2021-05-03 16:03:38 +02:00
application_helper.rb Bug Fix: Following an organization from article's sidebar creates an incorrect follow record (#15093) 2021-11-05 12:40:20 -04:00
articles_helper.rb [15-Minute Fix] Sidebar Tags Show Relevant Posts on Homepage (#13326) 2021-04-09 10:40:09 -06:00
authentication_helper.rb Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00
broadcasts_helper.rb Add ahoy + welcome notification tracking (#8758) [deploy] 2020-06-18 13:40:14 -07:00
chat_channel_memberships_helper.rb 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
chat_channels_helper.rb 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
comments_helper.rb Admin-configurable display locale (#14620) 2021-09-28 11:04:35 -04:00
date_helper.rb Add I18n date format example (#14973) 2021-10-08 15:08:56 -04:00
display_ad_helper.rb Rubocop fixes (#14868) 2021-09-30 13:22:09 -04:00
feedback_messages_helper.rb Split Settings::Community from SiteConfig (#13403) 2021-04-26 10:46:35 +02:00
listing_helper.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
messages_helper.rb [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
notifications_helper.rb views/notifications i18n (#15056) 2021-10-25 15:46:46 +07:00
organization_helper.rb [deploy] Add org credit management to org mod page (#7761) 2020-05-11 16:49:05 +02:00
profile_helper.rb [Small Wins] Show character limits for profile inputs (#15255) 2021-11-05 09:11:42 -04:00
rate_limit_checker_helper.rb Bump rubocop from 1.17.0 to 1.18.0 (#14107) 2021-07-01 13:51:49 +02:00
settings_helper.rb [deploy] Label Experience Level Scale in User Settings (#8454) 2020-06-16 15:41:30 +02:00
social_image_helper.rb Fix Ruby 2.7 kwargs' warnings & misc spec warnings (#13256) 2021-04-06 16:57:59 -04:00
social_link_helper.rb Refactor internal users index (#7457) 2020-04-24 17:27:07 -04:00