Skip to content

Commit

Permalink
Merge pull request refinery#34 from lazylester/master
Browse files Browse the repository at this point in the history
pathname wasn't being initialized
  • Loading branch information
parndt committed Jun 30, 2011
2 parents f6e60ac + 047aadd commit d9b499b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/refinerycms-inquiries.rb
Expand Up @@ -9,6 +9,7 @@ class Engine < Rails::Engine

config.after_initialize do
Refinery::Plugin.register do |plugin|
plugin.pathname = root
plugin.name = "refinery_inquiries"
plugin.directory = "inquiries"
plugin.menu_match = /(refinery|admin)\/inquir(ies|y_settings)$/
Expand All @@ -20,4 +21,4 @@ class Engine < Rails::Engine
end
end
end
end
end

0 comments on commit d9b499b

Please sign in to comment.