Skip to content

Commit

Permalink
Merge pull request #3335 from nebulab/kennyadsl/fix-absolute-path-ren…
Browse files Browse the repository at this point in the history
…der-deprecation

Use relative path to specify layouts path
  • Loading branch information
kennyadsl authored Sep 18, 2019
2 parents 29acc0d + 460269d commit d453bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/app/controllers/spree/admin/base_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Spree
module Admin
class BaseController < Spree::BaseController
helper 'spree/admin/navigation'
layout '/spree/layouts/admin'
layout 'spree/layouts/admin'

before_action :authorize_admin

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Spree
module Admin
class StyleGuideController < Spree::Admin::BaseController
respond_to :html
layout '/spree/layouts/admin_style_guide'
layout 'spree/layouts/admin_style_guide'

def index
@topics = {
Expand Down

0 comments on commit d453bb6

Please sign in to comment.