Commit fc0b5c9e5217fe1b3eeee9db9b9f6fba80a333e5

Authored by AntonioTerceiro
1 parent f33e0351

ActionItem8: marking a TODO




git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@130 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/controllers/application.rb
... ... @@ -15,6 +15,7 @@ class ApplicationController < ActionController::Base
15 15 # Load the template belongs to a Profile and set it at @chosen_template variable.
16 16 # If no profile exist the @chosen_template variable is set to 'default'
17 17 def load_template
  18 + # TODO: this should not be hardcoded
18 19 if Profile.exists?(1)
19 20 @owner = Profile.find(1)
20 21 end
... ...