lib/generators/active_leonardo.rb in active_leonardo-0.0.3 vs lib/generators/active_leonardo.rb in active_leonardo-0.0.4
- old
+ new
@@ -18,9 +18,13 @@
"config/initializers/active_admin.rb"
end
def activeadmin?
File.exists? activeadmin_file
end
+ def auth_class
+ return unless options[:auth_class]
+ options[:auth_class].classify
+ end
#def formtastic?
# return false unless options.formtastic?
# File.exists? "config/initializers/formtastic.rb"
#end
#def jquery_ui?
\ No newline at end of file