rolify 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,8 +14,7 @@ module Rolify
|
|
14
14
|
def generate_role
|
15
15
|
template "role.rb", "app/models/role.rb"
|
16
16
|
inject_into_class(model_path, user_cname.camelize) do
|
17
|
-
" include Rolify"
|
18
|
-
" has_and_belongs_to_many :#{role_cname.tableize}\n"
|
17
|
+
" include Rolify\n" + " has_and_belongs_to_many :#{role_cname.tableize}\n"
|
19
18
|
end
|
20
19
|
end
|
21
20
|
|
data/lib/rolify/version.rb
CHANGED