Skip to content

Marksmith Editor Giving 401 Error #3754

Closed Answered by jonmarkgo
jonmarkgo asked this question in Help
Discussion options

You must be logged in to vote

Solved this on my own. I had to add marksmith to routes.rb under admin_routes to get it to use the same auth as Avo

def admin_routes
    mount Sidekiq::Web => '/sidekiq'
    mount Avo::Engine, at: Avo.configuration.root_path
    mount Marksmith::Engine => '/marksmith', as: 'marksmith_engine'
  end

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Paul-Bob
Comment options

Answer selected by Paul-Bob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants