app/controllers/wbase/users_controller.rb in wbase-0.1.0 vs app/controllers/wbase/users_controller.rb in wbase-0.1.2

- old
+ new

@@ -35,28 +35,28 @@ redirect_to '/user' end def show @time_zones = ActiveSupport::TimeZone.us_zones.map(&:name) - render layout: 'application' + render layout: 'wbase/admin' end private def update_params params - .require(:user) - .permit( - :email, - :name, - :initial_investment, - :reinvest_percent, - :facebook_page, - :time_zone, - :phone, - :notify_email, - :notify_text - ) + .require(:user) + .permit( + :email, + :name, + :initial_investment, + :reinvest_percent, + :facebook_page, + :time_zone, + :phone, + :notify_email, + :notify_text + ) end def user_params params.require(:user).permit(:email, :password, :time_zone) end