dbudwin / RoboHome-Web

RoboHome-Web is the codebase that represents the frontend of the RoboHome project. The web interface provides a way to create users, add and manage devices, and an additional way to control devices. :robot: :house_with_garden:
GNU General Public License v3.0
8 stars 17 forks source link

Refactor flash message creation in web devices controller #133

Closed dbudwin closed 6 years ago

dbudwin commented 6 years ago

Description

Makes generating a flash message and redirecting more succinct.

Motivation and Context

Cleans up the web DevicesController a bit and removes redundant code.

How Has This Been Tested?

All test passed.

Screenshots (if appropriate):

Types of changes

Checklist: