diff --git a/lib/themes_on_rails/action_controller.rb b/lib/themes_on_rails/action_controller.rb index 1368e24..4832cfa 100644 --- a/lib/themes_on_rails/action_controller.rb +++ b/lib/themes_on_rails/action_controller.rb @@ -42,7 +42,7 @@ def before_filter_method(options) case Rails::VERSION::MAJOR when 3 options.delete(:prepend) ? :prepend_before_filter : :before_filter - when 4, 5 + when 4, 5, 6 options.delete(:prepend) ? :prepend_before_action : :before_action end end diff --git a/lib/themes_on_rails/version.rb b/lib/themes_on_rails/version.rb index aa252b9..1a8eb5e 100644 --- a/lib/themes_on_rails/version.rb +++ b/lib/themes_on_rails/version.rb @@ -1,3 +1,3 @@ module ThemesOnRails - VERSION = '0.4.0' + VERSION = '0.4.1' end \ No newline at end of file