Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Not clear how to make preview work #15

Open
nleo opened this issue Apr 30, 2014 · 0 comments
Open

Not clear how to make preview work #15

nleo opened this issue Apr 30, 2014 · 0 comments

Comments

@nleo
Copy link

nleo commented Apr 30, 2014

I use html, so I add

Markitup::Rails.configure do |config|
  config.formatter = -> markup { simple_format markup }
end

mount Markitup::Rails::Engine, at: "markitup", as: "markitup"

And get error 404 http://localhost:3000/projects/62/posts/25/templates/preview.html

But from placed by url http://localhost:3000/projects/62-bru/posts/25/comments

Why it not try to render preview somthing like http://localhost:3000/markitup/preveiw?text=...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant