Skip to content

Commit 62aa4f4

Browse files
committed
Merge branch 'develop' into staging
2 parents 9853586 + d29c5bf commit 62aa4f4

File tree

3 files changed

+62
-11
lines changed

3 files changed

+62
-11
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,37 @@
1+
# Numerous always-ignore extensions
2+
*.diff
3+
*.err
4+
*.orig
5+
*.log
6+
*.rej
7+
*.swo
8+
*.swp
9+
*.vi
10+
*~
11+
*.sass-cache
12+
13+
# OS or Editor folders
114
.DS_Store
15+
Thumbs.db
16+
.cache
17+
.project
18+
.settings
19+
.tmproj
20+
*.esproj
21+
nbproject
22+
23+
# Dreamweaver added files
24+
_notes
25+
dwsync.xml
26+
27+
# Komodo
28+
*.komodoproject
29+
.komodotools
30+
31+
# Folders to ignore
32+
.hg
33+
.svn
34+
.CVS
35+
intermediate
36+
publish
37+
.idea

readme.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,43 @@ Laravel is a clean and classy framework for PHP web development. Freeing you fro
1919

2020
**Hello World:**
2121

22-
Route::get('/', function()
23-
{
24-
return "Hello World!":
25-
});
22+
```php
23+
<?php
24+
25+
Route::get('/', function()
26+
{
27+
return "Hello World!":
28+
});
29+
```
2630

2731
**Passing Data To Views:**
2832

29-
Route::get('user/(:num)', function($id)
30-
{
31-
$user = DB::table('users')->find($id);
33+
```php
34+
<?php
35+
36+
Route::get('user/(:num)', function($id)
37+
{
38+
$user = DB::table('users')->find($id);
3239

33-
return View::make('profile')->with('user', $user);
34-
});
40+
return View::make('profile')->with('user', $user);
41+
});
42+
```
3543

3644
**Redirecting & Flashing Data To The Session:**
3745

38-
return Redirect::to('profile')->with('message', 'Welcome Back!');
46+
```php
47+
<?php
48+
49+
return Redirect::to('profile')->with('message', 'Welcome Back!');
50+
```
3951

4052
### Contributing to Laravel
4153

4254
Contributions are encouraged and welcome; however, please review the Developer Certificate of Origin in the "license.txt" file included in the repository. All commits must be signed off using the "-s" switch.
4355

44-
git commit -s -m "this commit will be signed off automatically!"
56+
```bash
57+
git commit -s -m "this commit will be signed off automatically!"
58+
```
4559

4660
### License
4761

0 commit comments

Comments
 (0)