Permalink
Browse files

more library methods removed (these are the responsibility of rails, …

…and a version file)
  • Loading branch information...
1 parent be0976b commit d45e8570202473e6285b1a32a6bd39a9fb9bc815 Dirk Kelly committed with saturnflyer Dec 25, 2010
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/radiant/engine.rb
@@ -72,10 +72,7 @@ class Engine < Rails::Engine
require 'radiant/admin_ui'
AdminUI.instance.load_default_nav
end
-
-
- config.secret_token = "4ac217d6512aae25ea83a25d58c30bed06520ac20ff8040da552f88d3046cf9103c1a7ca21254c9fc64a6f3dd59e00e206e7c410d612390be23d834b48f7b1e8"
-
+
config.action_view.field_error_proc = Proc.new do |html, instance|
if html !~ /label/
%{<span class="error-with-field">#{html} <span class="error">&bull; #{[instance.error_message].flatten.first}</span></span>}.html_safe
@@ -84,5 +81,5 @@ class Engine < Rails::Engine
end
end
end
-
+
end

0 comments on commit d45e857

Please sign in to comment.