Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customizing of view #18

Merged
merged 1 commit into from
May 2, 2016
Merged

Allow customizing of view #18

merged 1 commit into from
May 2, 2016

Conversation

armababy
Copy link
Member

This addresses couple of problems;

  1. No ability to customize view for dashboard
  2. No ability to ship view from withing Theme

Based on CoreServiceProvider we can not use loadViewsFrom as it appends to hints paths and never reaches intended override structure.
Also getting theme name from config is not always reliable as theme name and theme folder might differ, this addresses that.

], 'views');

$this->app['view']->prependNamespace(
'dashboard', base_path('resources/views/asgard/dashboard')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one argument is allowed per line in a multi-line function call

This addresses couple of problems;

1) No ability to customize view for dashboard
2) No ability to ship view from withing Theme

Based on ``CoreServiceProvider`` we can not use ``loadViewsFrom`` as it appends to hints paths and never reaches intended override structure.
Also getting theme name from config is not always reliable as theme name and theme folder might differ, this addresses that.

Fix PSR-2 CI problems

Fix PSR-2 CI problems
@nWidart nWidart merged commit d50951a into AsgardCms:master May 2, 2016
@nWidart
Copy link
Member

nWidart commented May 2, 2016

Thank you 👍

@armababy armababy deleted the feature/allow-view-customization branch May 13, 2016 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants