Fixed indentation, use spaces not tabs.
This commit is contained in:
parent
0076d0a9fa
commit
0e4dbb28e9
1 changed files with 3 additions and 2 deletions
|
@ -8,8 +8,9 @@ module Refinery
|
|||
class << self
|
||||
attr_accessor :root
|
||||
def root
|
||||
@root ||= Pathname.new(File.expand_path('../../', __FILE__))
|
||||
@root ||= Pathname.new(File.expand_path('../../', __FILE__))
|
||||
end
|
||||
|
||||
def version
|
||||
::Refinery::Blog::Version.to_s
|
||||
end
|
||||
|
@ -26,7 +27,7 @@ module Refinery
|
|||
|
||||
config.after_initialize do
|
||||
Refinery::Plugin.register do |plugin|
|
||||
plugin.pathname = root
|
||||
plugin.pathname = root
|
||||
plugin.name = "refinerycms_blog"
|
||||
plugin.url = {:controller => '/admin/blog/posts', :action => 'index'}
|
||||
plugin.menu_match = /^\/?(admin|refinery)\/blog\/?(posts|comments|categories)?/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue