Author: Alexey Bobkov, Samuel Georges
Example #1
0
 public function onScanMessages()
 {
     if (post('purge_messages', false)) {
         Message::truncate();
     }
     ThemeScanner::scan();
     Flash::success(Lang::get('rainlab.translate::lang.messages.scan_messages_success'));
     return $this->onRefresh();
 }
Example #2
0
 public function onScanMessages()
 {
     ThemeScanner::scan();
     Flash::success(Lang::get('rainlab.translate::lang.messages.scan_messages_success'));
     return $this->onRefresh();
 }