1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 16:53:23 -05:00

Fix instance variables to locals

This commit is contained in:
Jason Denney 2012-12-09 13:16:26 -05:00
parent 4ae03fc563
commit 1c203d86f5
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
- model_class = bike_model.class
.page-header
%h1=t '.title', :default => t('helpers.titles.edit', :model => model_class.model_name.human, :default => "Edit #{model_class.model_name.human}")
= render :partial => "form"

View File

@ -1,4 +1,4 @@
- model_class = @bike_model.class
- model_class = bike_model.class
.page-header
%h1=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human, :default => "New #{model_class.model_name.human}")
= render :partial => "form"