Skip to content
Browse files

Updated to support Refinery CMS 2.0.1

  • Loading branch information...
1 parent f1be3d6 commit 6acb957379356b974d7e7b3eb6bb1772c0adf1e7 @parndt parndt committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/refinery/inquiries/engine.rb
  2. +2 −2 refinerycms-inquiries.gemspec
View
2 lib/refinery/inquiries/engine.rb
@@ -9,7 +9,7 @@ class Engine < Rails::Engine
Refinery::Plugin.register do |plugin|
plugin.pathname = root
plugin.name = "refinerycms_inquiries"
- plugin.url = {:controller => '/refinery/inquiries/admin/inquiries'}
+ plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.inquiries_admin_inquiries_path }
plugin.menu_match = %r{/refinery/inquiries(/.+?)?$}
plugin.activity = {
:class_name => :'refinery/inquiries/inquiry',
View
4 refinerycms-inquiries.gemspec
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- spec/*`.split("\n")
- s.add_dependency 'refinerycms-core', '~> 2.0.0'
- s.add_dependency 'refinerycms-settings', '~> 2.0.0'
+ s.add_dependency 'refinerycms-core', '~> 2.0.1'
+ s.add_dependency 'refinerycms-settings', '~> 2.0.1'
s.add_dependency 'filters_spam', '~> 0.2'
# Development dependencies

0 comments on commit 6acb957

Please sign in to comment.
Something went wrong with that request. Please try again.