Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Markech
refinerycms-news
Commits
9a653fde
Commit
9a653fde
authored
Mar 22, 2012
by
Uģis Ozols
Browse files
Fix news tab highlighting when selected. Closes #82.
parent
0141b640
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/refinery/news/engine.rb
View file @
9a653fde
...
...
@@ -9,9 +9,9 @@ module Refinery
Refinery
::
Plugin
.
register
do
|
plugin
|
plugin
.
pathname
=
root
plugin
.
name
=
"refinerycms_news"
plugin
.
menu_match
=
/refinery\/news(_items)?$/
plugin
.
url
=
{
:controller
=>
'/refinery/news/admin/items'
}
plugin
.
menu_match
=
/refinery\/news(\/items)?$/
plugin
.
activity
=
{
:class_name
=>
'Refinery::News::Item'
}
plugin
.
url
=
proc
{
Refinery
::
Core
::
Engine
.
routes
.
url_helpers
.
news_admin_items_path
}
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment