Extract message system to plugin.
This commit is contained in:
parent
fe0b17cdb0
commit
7556c753d0
45 changed files with 298 additions and 45 deletions
6
lib/foodsoft_messages/app/views/messages/index.html.haml
Normal file
6
lib/foodsoft_messages/app/views/messages/index.html.haml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
- title t('.title')
|
||||
|
||||
- content_for :actionbar do
|
||||
= link_to t('.new'), new_message_path, class: 'btn btn-primary'
|
||||
#messages
|
||||
= render 'messages', messages: @messages, pagination: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue