lib/generators/carload/templates/carload.rb in carload-0.3.0 vs lib/generators/carload/templates/carload.rb in carload-0.4.0
- old
+ new
@@ -1,9 +1,21 @@
Carload.setup do |config|
- # Specify which authentication solution is used. Currently, we only support Devise.
+ # Set the title that will be displayed on the browser tab area.
+ config.page.title = nil
+
+ # Set the footer text that will be displayed on each page.
+ config.page.footer = nil
+
+ # Set the colors of page elements.
+ config.page.main_color = nil
+ config.page.text_color = 'black'
+ config.page.button_color = nil
+ config.page.button_text_color = nil
+
+ # Set which authentication solution is used. Currently, we only support Devise.
config.auth_solution = :devise
- # Specify which file upload solution is used. Currently, we only support Carrierwave.
+ # Set which file upload solution is used. Currently, we only support Carrierwave.
config.upload_solution = :carrierwave
# Set the actions used to discern user's permission to access dashboard.
#
# config.dashboard.permits_user.<method> = '...'