This file contains hidden or 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
<?php | |
Route::group(['prefix' => 'ead'], function () { | |
Route::resource('', 'ead\EadProjectController'); | |
Route::resource('/{ead}/parts', 'ead\EadPartController'); | |
Route::group(['prefix' => 'admin'], function () { | |
Route::get('/', 'ead\EadProjectController@admin'); | |
Route::resource('msl', 'EadMSLCodeController'); | |
Route::resource('placement', 'EadPartPlacementController'); | |
Route::resource('category', 'EadPartCategoryController'); | |
}); |
This file contains hidden or 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
ArgumentError in MasterLists#create | |
Showing /Projects/rails_projects/ProcessSteps/app/views/master_lists/_form.html.erb where line #1 raised: | |
First argument in form cannot contain nil or be empty | |
Extracted source (around line #1): | |
1 | |
2 | |
3 | |
4 | |
5 |
This file contains hidden or 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
Route::group(['middleware' => 'auth'], function () { | |
Route::get('/', 'CategoriesController@index'); | |
Route::resource('categories', 'CategoriesController'); | |
Route::resource('categories.links', 'LinksController'); | |
Route::bind('categories', function($value, $route) { | |
return App\Categories::whereSlug($value)->first(); | |
}); |
This file contains hidden or 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
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
class Category extends Model | |
{ | |
public function links() | |
{ |
This file contains hidden or 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
ActiveRecord::AssociationTypeMismatch in TaskListsController#create | |
ProcessStepsCategory(#47262720562860) expected, got String(#47262609621080) | |
Extracted source (around line #47): | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 |
This file contains hidden or 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
begin | |
require 'bundler/setup' | |
rescue LoadError | |
puts 'You must `gem install bundler` and `bundle install` to run rake tasks' | |
end | |
require 'rdoc/task' | |
RDoc::Task.new(:rdoc) do |rdoc| | |
rdoc.rdoc_dir = 'rdoc' |
This file contains hidden or 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
<% | |
p_id = nil | |
wp_id = nil | |
%> | |
<div class="page-header"> | |
<a href="/" class="btn btn-default pull-right"><< Return to OpenProject</a> | |
<h1 class="">Todo Tasks List</h1> | |
</div> | |
<% if notice %> | |
<div class="well well-danger"><%= notice %></div> |
This file contains hidden or 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
NameError in OpenprojectTodolist::Todolists#index | |
Showing /home/ssanders/RubymineProjects/plugins/openproject_todolist/app/views/openproject_todolist/todolists/index.html.erb where line #24 raised: | |
undefined local variable or method `project_id' for #<#<Class:0x0000000708b478>:0x00000006be3218> | |
Did you mean? object_id | |
project_tree | |
project_nested_ul | |
project_settings_tabs | |
proc | |
project_path_or_url |
This file contains hidden or 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
Environment: | |
Request Method: POST | |
Request URL: http://localhost:8000/ldapper/login/ | |
Django Version: 1.9.5 | |
Python Version: 2.7.11 | |
Installed Applications: | |
['django.contrib.admin', |
This file contains hidden or 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
{% if links %} | |
{% regroup links by links.linkgroup as link_list %} | |
{% for l in link_list %} | |
<li> | |
<h4>{{ l.grouper }}</h4> | |
<ul> | |
{% for i in l.linkgroup %} | |
<li>{{ i.title }}</li> | |
{% endfor %} | |
</ul> |
NewerOlder