Andy Allan
88ff81b694
Refactor messages show action to be resourceful
2018-06-06 11:51:52 +08:00
Andy Allan
9b36021ec5
Refactor inbox and outbox paths to avoid display names in urls.
2018-06-06 11:33:33 +08:00
Andy Allan
84fa437d50
Ensure database is writable before destroying a message
2018-05-15 18:28:33 +08:00
Andy Allan
4ec70f7994
Rename messages#read to #show
...
Also rename the named path, to align with resourceful routing
2018-05-15 18:25:54 +08:00
Andy Allan
73df8447e3
Rename messages#delete to destroy
...
This is a better fit for rails controller method conventions, paving
the way to resourceful routing. Keep user-facing strings as 'delete'
since that's more commonly used.
2018-05-15 18:15:01 +08:00
Andy Allan
00bd64c7fb
Rename message_controller to messages_controller
2018-05-09 16:38:37 +08:00