Added post anchors and show post.
when a new post is created, the page is now scrolled to is via its anchor created a show post route, and view. added a post number to post view, with link. need to change displayed post number from post id, to reply #
This commit is contained in:
1 parent
1e05402d18
commit
7da52114ca
6 files changed
+32
-11
No files matched your search
@@ -5,4 +5,16 @@ module ApplicationHelper
|
||||
:confirm => 'Are you sure? Any changes will be lost.'
|
||||
end
|
||||
|
||||
def block_quote
|
||||
return {
|
||||
'Quote' => [
|
||||
/\[quote(:.*)?=(.*?)\](.*?)\[\/quote\1?\]/mi,
|
||||
'<blockquote><cite>\2</cite><span class="a">“</span>\3<span class="b">”</span></blockquote>',
|
||||
'Quote with citation',
|
||||
'[quote=mike]please quote me[/quote]',
|
||||
:quote
|
||||
],
|
||||
}
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user