Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: seyhunak/twitter-bootstrap-rails
base: fec9e1ab4b
...
head fork: seyhunak/twitter-bootstrap-rails
compare: bab5e1cc27
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 2 contributors
View
2  lib/generators/bootstrap/themed/templates/index.html.erb
@@ -1,4 +1,4 @@
-<%%- model_class = @<%= plural_resource_name %>.first.class -%>
+<%%- model_class = <%= resource_name.classify %>.new.class -%>
<h1><%%=t '.title', :default => model_class.model_name.human.pluralize %></h1>
<table class="table table-striped">
<thead>
View
2  lib/generators/bootstrap/themed/templates/index.html.haml
@@ -1,4 +1,4 @@
-- model_class = @<%= plural_resource_name %>.first.class
+- model_class = <%= resource_name.classify %>.new.class
%h1=t '.title', :default => model_class.model_name.human.pluralize
%table.table.table-striped
%thead
View
2  lib/generators/bootstrap/themed/templates/index.html.slim
@@ -1,4 +1,4 @@
-- model_class = @<%= plural_resource_name %>.first.class
+- model_class = <%= resource_name.classify %>.new.class
h1=t '.title', :default => model_class.model_name.human.pluralize
table class="table table-striped"
thead

No commit comments for this range

Something went wrong with that request. Please try again.