Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gccei
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CEI-UFPR
gccei
Commits
69254128
Commit
69254128
authored
Apr 10, 2016
by
Vytor Calixto
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Criada model Event e controller
parent
7547696b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
app/Event.php
app/Event.php
+15
-0
app/Http/Controllers/EventController.php
app/Http/Controllers/EventController.php
+12
-0
No files found.
app/Event.php
0 → 100644
View file @
69254128
<?php
namespace
App
;
use
Illuminate\Database\Eloquent\Model
;
class
Event
extends
Model
{
//
protected
$fillable
=
[
'name'
,
'hours'
];
public
function
users
()
{
return
$this
->
belongsToMany
(
'App\User'
);
}
}
app/Http/Controllers/EventController.php
0 → 100644
View file @
69254128
<?php
namespace
App\Http\Controllers
;
use
Illuminate\Http\Request
;
use
App\Http\Requests
;
class
EventController
extends
Controller
{
//
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment