Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shop
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
shop
Commits
c79d9d47
Commit
c79d9d47
authored
May 26, 2015
by
Oleg Schelkunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dependency to RainLab.Translate plugin and fix type to Translatable dependency
parent
f74b0c44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Plugin.php
Plugin.php
+2
-0
Category.php
models/Category.php
+1
-1
No files found.
Plugin.php
View file @
c79d9d47
...
@@ -10,6 +10,8 @@ use System\Classes\PluginBase;
...
@@ -10,6 +10,8 @@ use System\Classes\PluginBase;
class
Plugin
extends
PluginBase
class
Plugin
extends
PluginBase
{
{
public
$require
=
[
'RainLab.Translate'
];
/**
/**
* Returns information about this plugin.
* Returns information about this plugin.
*
*
...
...
models/Category.php
View file @
c79d9d47
...
@@ -13,7 +13,7 @@ class Category extends Model
...
@@ -13,7 +13,7 @@ class Category extends Model
use
\October\Rain\Database\Traits\Validation
;
use
\October\Rain\Database\Traits\Validation
;
use
\October\Rain\Database\Traits\NestedTree
;
use
\October\Rain\Database\Traits\NestedTree
;
public
$implement
=
[
'
@
RainLab.Translate.Behaviors.TranslatableModel'
];
public
$implement
=
[
'RainLab.Translate.Behaviors.TranslatableModel'
];
/**
/**
* @var boolean Channel has new posts for member, set by ChannelWatch model
* @var boolean Channel has new posts for member, set by ChannelWatch model
...
...
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