mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 07:18:14 -05:00
@@ -4,10 +4,6 @@ end
|
||||
|
||||
module Devise
|
||||
# Detection for minor differences between Rails 4 and 5, and 5.1 in tests.
|
||||
def self.rails51?
|
||||
Rails.version.start_with? '5.1'
|
||||
end
|
||||
|
||||
def self.rails5?
|
||||
Rails.version.start_with? '5'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user