aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2010-12-03 09:13:38 +0200
committerUģis Ozols <ugis.ozolss@gmail.com>2010-12-03 09:13:38 +0200
commit420afaf199edba87623c1ec54b8c2fcec4001612 (patch)
tree449c6ac1a1de86454ab24bc575d53a8082c179cf /app
parent1167a1d6a99e51f8f7d1a3cef3d75eaa402656a8 (diff)
downloadrefinerycms-blog-420afaf199edba87623c1ec54b8c2fcec4001612.tar.gz
refinerycms-blog-420afaf199edba87623c1ec54b8c2fcec4001612.tar.bz2
refinerycms-blog-420afaf199edba87623c1ec54b8c2fcec4001612.zip
Fix deprecation warnings.
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/blog/categories/_form.html.erb2
-rw-r--r--app/views/admin/blog/posts/_form.html.erb2
-rw-r--r--app/views/admin/blog/settings/notification_recipients.html.erb2
-rw-r--r--app/views/blog/posts/show.html.erb2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/blog/categories/_form.html.erb b/app/views/admin/blog/categories/_form.html.erb
index 4f1809a..f55992a 100644
--- a/app/views/admin/blog/categories/_form.html.erb
+++ b/app/views/admin/blog/categories/_form.html.erb
@@ -1,4 +1,4 @@
-<% form_for [:admin, @blog_category] do |f| -%>
+<%= form_for [:admin, @blog_category] do |f| -%>
<%= render :partial => "/shared/admin/error_messages",
:locals => {
:object => f.object,
diff --git a/app/views/admin/blog/posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb
index 29585ea..0dc6e9b 100644
--- a/app/views/admin/blog/posts/_form.html.erb
+++ b/app/views/admin/blog/posts/_form.html.erb
@@ -1,4 +1,4 @@
-<% form_for [:admin, @blog_post] do |f| -%>
+<%= form_for [:admin, @blog_post] do |f| -%>
<%= render :partial => "/shared/admin/error_messages",
:locals => {
:object => f.object,
diff --git a/app/views/admin/blog/settings/notification_recipients.html.erb b/app/views/admin/blog/settings/notification_recipients.html.erb
index ea36af1..41e7f2d 100644
--- a/app/views/admin/blog/settings/notification_recipients.html.erb
+++ b/app/views/admin/blog/settings/notification_recipients.html.erb
@@ -1,4 +1,4 @@
-<% form_tag do %>
+<%= form_tag do %>
<div class='field'>
<span class='label_with_help'>
diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb
index b6cff8c..5ac4c76 100644
--- a/app/views/blog/posts/show.html.erb
+++ b/app/views/blog/posts/show.html.erb
@@ -22,7 +22,7 @@
<% end %>
<h2><%= t('.comments.add') %></h2>
- <% form_for [:blog_post, @blog_comment] do |f| %>
+ <%= form_for [:blog_post, @blog_comment] do |f| %>
<%= render :partial => "/shared/admin/error_messages",
:locals => {
:object => f.object,