This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Process datatables ajax request. | |
* | |
* @return \Illuminate\Http\JsonResponse | |
*/ | |
public function allData(Request $request) | |
{ | |
$registrations = Registration::with('product')->with('reg_type')->select('registrations.*'); | |
$datatable = Datatables::of($registrations); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/plugins/context_condition_menu.inc b/plugins/context_condition_menu.inc | |
index 4b19e02..7582497 100644 | |
--- a/plugins/context_condition_menu.inc | |
+++ b/plugins/context_condition_menu.inc | |
@@ -1,5 +1,7 @@ | |
<?php | |
+require_once('context_menu_helpers.inc'); | |
+ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/mounter.rb:133:in `block in named_routes': undefined method `name' for #<Array:0x0000000281d5b0> (NoMethodError) | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/mounter.rb:132:in `each' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/mounter.rb:132:in `map' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/mounter.rb:132:in `named_routes' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/cli/rake_tasks.rb:24:in `list_app_routes' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/cli/rake_tasks.rb:54:in `block (2 levels) in <top (required)>' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino-core-0.13.2/lib/padrino-core/cli/rake_tasks.rb:53:in `each' | |
from /home/username/.rvm/gems/ruby-2.3.1@portal/gems/padrino- |