Skip to content

Commit

Permalink
just for preparing for Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ayooby committed Aug 24, 2015
1 parent f8c77be commit 083c945
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions app/models/Question.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ class Question extends \Eloquent {

// Add your validation rules here
public static $rules = [
'title' => 'required|between:3,60',
'body' => 'required|max:500',
'tag' => 'required'
'title' => 'required|between:3,60',
'body' => 'required|max:500',
'tag' => 'required'

];

Expand Down
12 changes: 5 additions & 7 deletions app/views/ask/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,15 @@
<div class="col-md-2">
<a href="{{action('RatesController@getRate', array($question->id,'1'))}}">
<button type="button" class="btn btn-primary btn-sm">
<span class="glyphicon glyphicon-thumbs-up"></span>
<span class="glyphicon glyphicon-thumbs-up"></span>
</button>
</a>

</a>
<span class="badge"></span>
<a href="{{action('RatesController@getRate', array($question->id,'-1'))}}">


<button type="button" class="btn btn-default btn-sm">
<span class="glyphicon glyphicon-thumbs-down"></span>
<span class="glyphicon glyphicon-thumbs-down"></span>
</button>
</a>
</a>
</div>
</div>
@endforeach
Expand Down

0 comments on commit 083c945

Please sign in to comment.