Skip to content

Commit

Permalink
Update for RC.
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Feb 14, 2015
1 parent 9167a4c commit f00d26c
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions components/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use Validator;
use Cms\Classes\Page;
use Cms\Classes\ComponentBase;
use System\Classes\ApplicationException;
use October\Rain\Support\ValidationException;
use ApplicationException;
use ValidationException;
use RainLab\User\Models\Settings as UserSettings;
use Exception;

Expand Down
4 changes: 2 additions & 2 deletions components/ResetPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
use Mail;
use Validator;
use Cms\Classes\ComponentBase;
use October\Rain\Support\ValidationException;
use System\Classes\ApplicationException;
use ValidationException;
use ApplicationException;

class ResetPassword extends ComponentBase
{
Expand Down
2 changes: 1 addition & 1 deletion components/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Redirect;
use Cms\Classes\Page;
use Cms\Classes\ComponentBase;
use October\Rain\Support\ValidationException;
use ValidationException;

class Session extends ComponentBase
{
Expand Down
2 changes: 1 addition & 1 deletion controllers/Locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ public function onDisableLocations()
else
Flash::success(Lang::get('rainlab.user::lang.locations.disable_success'));

return Redirect::to(Backend::url('rainlab/user/locations'));
return Backend::redirect('rainlab/user/locations');
}
}
2 changes: 1 addition & 1 deletion controllers/locations/config_form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name: rainlab.user::lang.location.label

# Model Form Field configuration
form: @/plugins/rainlab/user/models/country/fields.yaml
form: ~/plugins/rainlab/user/models/country/fields.yaml

# Model Class name
modelClass: RainLab\User\Models\Country
Expand Down
2 changes: 1 addition & 1 deletion controllers/locations/config_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ===================================

# Model List Column configuration
list: @/plugins/rainlab/user/models/country/columns.yaml
list: ~/plugins/rainlab/user/models/country/columns.yaml

# Model Class name
modelClass: RainLab\User\Models\Country
Expand Down
2 changes: 1 addition & 1 deletion controllers/users/config_form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ===================================

name: rainlab.user::lang.user.label
form: @/plugins/rainlab/user/models/user/fields.yaml
form: ~/plugins/rainlab/user/models/user/fields.yaml
modelClass: RainLab\User\Models\User
defaultRedirect: rainlab/user/users

Expand Down
2 changes: 1 addition & 1 deletion controllers/users/config_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ===================================

title: rainlab.user::lang.users.list_title
list: @/plugins/rainlab/user/models/user/columns.yaml
list: ~/plugins/rainlab/user/models/user/columns.yaml
modelClass: RainLab\User\Models\User
recordUrl: rainlab/user/users/update/:id
noRecordsMessage: backend::lang.list.no_records
Expand Down
2 changes: 1 addition & 1 deletion models/settings/fields.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ tabs:
comment: rainlab.user::lang.settings.default_state_comment
type: dropdown
tab: rainlab.user::lang.settings.location_tab
depends: default_country
dependsOn: default_country
2 changes: 1 addition & 1 deletion models/user/fields.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tabs:
type: dropdown
tab: rainlab.user::lang.user.details
span: right
depends: country
dependsOn: country
placeholder: rainlab.user::lang.user.select_state

username:
Expand Down
3 changes: 2 additions & 1 deletion updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
1.0.12:
- Create a dedicated setting for choosing the login mode.
- users_rename_login_to_username.php
1.0.13: Minor fix to the Account sign in logic.
1.0.13: Minor fix to the Account sign in logic.
1.0.14: Minor improvements to the code.

0 comments on commit f00d26c

Please sign in to comment.